gcc default search path
Anton Erasmus
antera@intekom.co.za
Sun Jan 25 08:49:00 GMT 2004
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
More information about the crossgcc
mailing list