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]

GCC Search Directory Problem -- crosstool-ng-1.4.0


Yann,

> On Friday 01 May 2009 19:53:47 Ben Atkinson wrote:
> > As a preliminary test, I started with the arm-unknown-linux-gnueabi
> > sample .config file and tried it "as-is".
> > The build completed successfully, but I get different results depending
> > on whether I execute gcc or arm-unknown-linux-gnueabi-gcc.
> > $ 
> /home/batkinson/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/bin/gcc 
> -o Hello Hello.c
> 
> Oh! I never thought any one would be using that! I did not even know gcc
> would install a copy of itself in this place...
> 
> The 'canonical' way to call the cross gcc is to give the complete name,
> in your case you'd use arm-unknown-linux-gnueabi-gcc.

Thank you for your reply and for the work you are?doing with crosstool-ng.? Now that
I'm using the complete gcc name, the compiler is working great for me.

Regards,

Ben






--
For unsubscribe information see http://sourceware.org/lists.html#faq


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