This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc default search path


On 2004/01/24 at 11:30 Roman Duka wrote:

>does anybody know how to specify default search paths (the ones you get 
>with "gcc -print-search-dirs") during compilation? basically my cross 
>gcc doesn't look in the right place for crt1.o files, so i need to find 
>a way to specify the default search path in the makefile or something???
>
Hi,

Use the -nostartupfiles gcc option, and specify
the crt.o in your object list explicitly.
Otherwise I think you need to stuff around in the specs
file.

Regards
   Anton Erasmus


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]