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]

how do i actually build and link agains my lovely crossbuildenvironment? :-)


Hi;

i seem to be having some difficulty figuring out how to run my

crosstool-0.25/result/i686-unknown-linux-gnu/gcc-2.9.5.3-glibc-2.2.5
stuff properly.

was there a make install step that i missed?

because i change my makefile to point at

CC=/home/johnut01/GBCX/crosstool-0.25/result/i686-unknown-linux-gnu/gcc-2.9.5.3-glibc-2.2.5/bin/i686-unknown-linux-gnu-gcc

i also added
/home/johnut01/GBCX/crosstool-0.25/result/i686-unknown-linux-gnu/gcc-2.9.5.3-glibc-2.2.5/lib/gcc-lib/i686-unknown-linux-gnu/2.95.3
to my PATH or else i get an error about not being able to find cpp0

having done all this, it seems to build ok, but i cant get it to link:

ld: cannot open crti.o: No such file or directory

it seems to me that if i am using my crosstool gcc, it shouldnt be
using 'ld' it should be using
/home/johnut01/GBCX/crosstool-0.25/result/i686-unknown-linux-gnu/gcc-2.9.5.3-glibc-2.2.5/bin/i686-unknown-linux-gnu-ld

am i missing something?

tnx!

johnu

------
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]