I'm a newbe to using autoconf and automake.
I'm dealing with a very simple open source project ( ekhtml ). Here is what I have done.
1. I updated the “config.guess” and config.sub“ with the ones that Apple has provided in ”/usr/share/automake-1.6“
2. I recreated the configure file by running autoconf
3. I set the CFLAGS, LDFLAGS and configure to generate a new make file. Here is the command I used
env CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
./configure --disable-dependency-tracking
4. then I ran make, and got the following error.
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-syslibroot'
/usr/bin/libtool: can't map file: /Developer/SDKs/MacOSX10.4u.sdk ((os/kern) invalid argument)
make[1]: *** [libekhtml.la] Error 1
make: *** [all-recursive] Error 1
Do I not have the correct version of ld? Here is the version I have
% ld -v
Apple Computer, Inc. version cctools-590.obj~12
Thanks in advance for the help.
-dave