This is the mail archive of the crossgcc@sourceware.org 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: Target gdb


 

> -----Original Message-----
> From: Dave Korn [mailto:dave.korn@artimi.com] 
> Sent: Friday, February 03, 2006 8:32 AM
> To: Earl Olsen; 'crossgcc maillist'
> Subject: RE: Target gdb
> 
> >   You'll have to figure out why it thinks you're building 
> on a powerpc 
> > system.
> 
> 
>   It's probably because of this bit, Btw:
> 
> >>     CC=$TARGET-gcc $BUILD_TMP_DIR/$GDB_DIR/configure \

I'm trying it without CC=$TARGET-gcc.
Funny, it worked for gdbserver.

> 
> 
>   CC is the system's native compiler.  Don't try and fool the 
> configure/cross-build system.  It's not daft and it knows 
> that if build is one thing and host is another then it needs 
> to find a $(TARGET)-gcc.  You have told it to use the 
> crosscompiler as the native compiler, and it's got all 
> confused about whether it's meant to be crosscompiling at all 
> or not.  Poor little thing!
> 

I was not trying to make it feel bad...  I'll apologize to it.

> 
>     cheers,
>       DaveK
> --
> Can't think of a witty .sigline today....
> 
> 

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


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