Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: query for ASLR settings in Xcode.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: query for ASLR settings in Xcode.



No luck still the problem persists.I tried with -Wl-pie. I get the same error .Actually libtool doesn't have any -W option.But still any help would be very much appreciated.
Thanks,
-A

On Sat, Oct 24, 2009 at 2:27 PM, Jean-Daniel Dupas <email@hidden> wrote:
Yes, I did a typo in my first reply, but jonas posted a fixed:

This should be -Wl,-pie
 
Le 24 oct. 2009 à 05:30, Arnab Ganguly a écrit :

Thanks for help, but no luck.Getting the below error.
/Developer/usr/bin/libtool  unknown option character 'W' in -W -pie.
Command /Developer/usr/bin/libtool failed.


-A

On Fri, Oct 23, 2009 at 1:33 PM, Jean-Daniel Dupas <email@hidden> wrote:

Le 21 oct. 2009 à 20:31, Arnab Ganguly a écrit :


Hi All,
I was following the steps for getting the ASLR (Address Space Layout Randomization) settings for my Application.
But when I set  Project/Target Settings > Build > Other Linker Flags >  as "-pie" I get errors as /Developer/usr/bin/libtool: can't open file: lpie (No such file or directory).

Try '-W-pie' instead of '-pie'

The -W option tell gcc to pass the following string (-pie here) to ld when linking.



But for other two settings  "-fpie" in "Other C Flags" setting and "Generate Position-Dependent Code" as off.

Is something silly I am doing.
Thanks,
-A

-- Jean-Daniel






-- Jean-Daniel





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >query for ASLR settings in Xcode. (From: Arnab Ganguly <email@hidden>)
 >Re: query for ASLR settings in Xcode. (From: Jean-Daniel Dupas <email@hidden>)
 >Re: query for ASLR settings in Xcode. (From: Arnab Ganguly <email@hidden>)
 >Re: query for ASLR settings in Xcode. (From: Jean-Daniel Dupas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.