This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem while compiling for ARM platform
- From: Brian Dessent <brian at dessent dot net>
- To: Deepak Kukreja <deepak dot kukreja at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 09 Apr 2008 23:15:29 -0700
- Subject: Re: Problem while compiling for ARM platform
- References: <b7dcdcc40804092255h647d33a2m9b230e250e397305@mail.gmail.com>
- Reply-to: gcc-help at gcc dot gnu dot org
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