This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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: Problem while compiling for ARM platform


Deepak Kukreja wrote:

> When I login as a 'root' the make runs successfully.
> 
> But when I login as a different user.. After building the different
> modules, in the end I am getting the error which is as follows:

It's probably due to different profile/startup files causing different
settings for PATH (or some other relevant environment variable.)

> ld: unrecognized emulation mode: armelf_linux_eabi
> supported emulations: elf_i386 i386linux
> make[1]: *** [all] Error 1
> make[1]: Leaving directory 'some directory'
> make: *** [exeDSP] Error 2

The native linker is being found before the cross linker.

Brian


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