andrew@xxxxxxxxxxxxxx wrote: > On Fri, May 07, 2010 at 03:15:07PM +0200, jacob@xxxxxxxxxxxxx wrote 6.0K bytes in 166 lines about: > : You can use it like so: > : ./autogen.sh && ./configure --enable-gcc-warnings --enable-gcc-hardening > : --enable-linker-hardening && make && sudo make install > > Here are the results from OSX 10.5 build machine: > > CFLAGS="-O -g -mmacosx-version-min=10.4 -isysroot > /Developer/SDKs/MacOSX10.4u.sdk -arch i386" > LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" > CONFDIR=/Library/Tor ./configure --prefix=/Library/Tor > --bindir=/Library/Tor --sysconfdir=/Library > --disable-dependency-tracking gcc="4.0" --enable-gcc-warnings > --enable-gcc-hardening --enable-linker-hardening > > configure: error: C compiler cannot create executables > > attached is the config.log > Hi Andrew, Thanks for your testing. Can you try that again but this time without '--enable-linker-hardening' in your ./configure configuring? We can't support linker hardening for ELF and Mac OS X uses the Mach-O binary format. Try to do the following configure command? CFLAGS="-O -g -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386" LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" CONFDIR=/Library/Tor ./configure --prefix=/Library/Tor --bindir=/Library/Tor --sysconfdir=/Library --disable-dependency-tracking gcc="4.0" --enable-gcc-warnings --enable-gcc-hardening All the best, Jacob
Attachment:
signature.asc
Description: OpenPGP digital signature