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: how do i actually build and link agains my lovelycrossbuildenvironment? :-)


Hi Dan;

>>> Dan Kegel <dank@kegel.com> 01/12/04 08:14PM >>>
John Utz wrote:
>> 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

>Seems fine, modulo typos...

Sorry about the typos! My employer insists that i do my email on a
locked down win2k box( i have no admin priv's, so i cant install
cygwin/ssh) instead of my linux box, so i have to look over and copy the
command line.

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

>That doesn't seem right... you shouldn't need to change your path.  
>Hmm.

Ok, so it should just work once i point it at the correct gcc, it
*should* do all the right magic then? obviously, this is not happening.


>> 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?
>
>Maybe, but I dunno what at the moment.
>
>I'll see if I can reproduce your problem, and help track it down, but
I
 >can't promise when.


you probably cant reproduce it if you dont have a redhat 9 box. :-(
but tnx for taking the time to think about it nonetheless! :-)


>- Dan

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