• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
unrecognized option '-syslibroot'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unrecognized option '-syslibroot'


  • Subject: unrecognized option '-syslibroot'
  • From: David Alter <email@hidden>
  • Date: Wed, 29 Mar 2006 09:44:40 -0800

I'm trying to build a universal binary dynamic library from a open source project. The project uses configure and make. I have been using the information in Tech note 2137 and the information in "Porting UNIX/Linux Applications to Mac OS X" <http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/index.html?http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html> 

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

 _______________________________________________
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

  • Follow-Ups:
    • Re: unrecognized option '-syslibroot'
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: Help with Xcode i386 Link problems
  • Next by Date: Re: Extra files in the bundle
  • Previous by thread: Re: Show Assembly and Preprocess Woes
  • Next by thread: Re: unrecognized option '-syslibroot'
  • Index(es):
    • Date
    • Thread