This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


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

Re: Error generating arm-elf-gcc


> Alessandro Pinto wrote:
> 
> Hi,
> I'm a new subscriber t othis mailing list.
> I have been trying to compile gcc for an ARM target but the compilation
> always terminates with the following error:
> 
> C:\TEMP/cc0W0s1B.s: Assembler messages:
> C:\TEMP/cc0W0s1B.s:2: Error: Rest of line ignored. First ignored
> character is `@'.
> C:\TEMP/cc0W0s1B.s:3: Error: Rest of line ignored. First ignored
> character is `@'.
> C:\TEMP/cc0W0s1B.s:72: Error: no such 386 instruction: `dividend .req r0'
[snip]

The most likely cause is that you did not specify the same prefix and
exec-prefix when you configured binutils as when you configured gcc. It is
also wise to put the bin subdirectory of the exec-prefix location into your
PATH.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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