Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc



ok thanks Martin, I am a bit new to modifying complex Makefiles and the files included by this one are pretty heavy. It is going to take me some time to get how everything is working, and how I can just take out the right linking commands.
I'll get back as soon as I reach the next step,


Thanks a lot for helping Martin and Peter,

David

Le 14 mai 06 à 14:46, Martin Costabel a écrit :

David Lascombe wrote:
Yes ok but have you seen my Makefile :

Your Makefile includes several other files which will contain the real definitions and which you will have to correct:
[]
/include $(DEPTH)/src/templates/setup.mk/

/LOCAL_APPS_DEFS := $(shell find src/apps -name localdefs.mk)/
/LOCAL_APPS_DEFS := $(LOCAL_APPS_DEFS) $(shell find . -name appdefs.mk)/

/LOCAL_LIBS_DEFS := $(shell find src/lib -name localdefs.mk)/

/USER_LIB_DEFS := $(shell find . -name libdefs.mk)/

/LOCAL_SEDEBUG_DEFS := src/lib/api_impl/debug/localdefs.mk /
[]
/LOCAL_DEFS := $(LOCAL_LIBS_DEFS) $(LOCAL_SEDEBUG_DEFS) $ (USER_LIB_DEFS) $(LOCAL_APPS_DEFS)/

/ifneq ($(LOCAL_DEFS),)/
/include $(LOCAL_DEFS)/
/endif/

/include $(DEPTH)/src/templates/globaltargets.m/k"

You have to look at all these setup.mk, localdefs.mk, appdefs.mk, libdefs.mk files and see where they define the linker commands.


--
Martin



_______________________________________________ Do not post admin requests to the list. They will be ignored. Unix-porting mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc (From: David Lascombe <email@hidden>)
 >Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc (From: "Peter O'Gorman" <email@hidden>)
 >Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc (From: David Lascombe <email@hidden>)
 >Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc (From: "Peter O'Gorman" <email@hidden>)
 >Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc (From: David Lascombe <email@hidden>)
 >Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc (From: Martin Costabel <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.