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: gcc croscompiler NEC V850


On 29 May 2006 23:35, Landus (sent by Nabble.com) wrote:

> Hi all,
> 
> its my first time to configure a crosscompiler.

  It always hurts the first time!

> my host system is Fedora
> Linux Core 5 on i586 and I try to configure the gcc and newlib  for the
> target NEC V850 ÂC.
> My steps until now:
> 
> download  the gcc 4.1.1 sources
> download  newlib sources
> copy the newlib source folder to the gcc source folder
> 
> configure gcc as followed:
> 
> gccsrc/configure --target=v850-elf --with-newlib
> --prefix=/gccbin/v850-elf --with-gnu-as --with-gnuld
> 
> after this step I run make. But (a long time later) I got this error messge
> 
> echo timestamp > stmp-fixproto
> make[2]: *** No rule to make target `/gccbin/v850-elf-as', needed by
> `stamp-as'.  Stop.
> make[2]: Leaving directory `/home/landwehr/can-box/gcc'
> make[1]: *** [all-gcc] Error 2
> make[1]: Leaving directory `/home/landwehr/can-box'
> make: *** [all] Error 2
> 
> could the experts tell me how to fix it?

  Heh.  I think this one is simple: you didn't install a cross-binutils yet.  Download binutils, configure it with the exact same prefix and target, build and make install it, then try again.  Your cross-compiler outputs assembly code for the target; it needs a cross-assembler to make it work!


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


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