public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Compiler errors...
@ 2002-02-01  1:22 Dimitri Frederickx
  2002-02-01 14:03 ` Alexandre Oliva
  0 siblings, 1 reply; 7+ messages in thread
From: Dimitri Frederickx @ 2002-02-01  1:22 UTC (permalink / raw)
  To: gcc, gcc-help

I try to get a compiler for wince and an arm processor (for an iPaq).
In my configuration of gcc3.0.3: configure --target=arm-wince-pe
the I make: make
then: make install

during the make file I get het following error on the end:

make[2]: *** [libgcc/./_udivsi3.o] Error 1
make[2]: Leaving directory `/gcc-3.0.3/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/gcc-3.0.3/gcc'
make: *** [all-gcc] Error 2

why can't I get a complete compilation? What went wrong? does anyone has
this compiler already? Please help me out and tell me what to do!

Dimitri Frederickx
Student Engeneer ICT
Acunia
Belgium

These messages proceded the errors:
/cygdrive/c/TEMP/ccrltzdD.s: Assembler messages:
/cygdrive/c/TEMP/ccrltzdD.s:2: Warning: rest of line ignored; first ignored
character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:3: Warning: rest of line ignored; first ignored
character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:52: Error: no such instruction: `work .req r4 @
XXXX is this safe?'
/cygdrive/c/TEMP/ccrltzdD.s:53: Error: no such instruction: `dividend .req
r0'
/cygdrive/c/TEMP/ccrltzdD.s:54: Error: no such instruction: `divisor .req
r1'
/cygdrive/c/TEMP/ccrltzdD.s:55: Error: no such instruction: `overdone .req
r2'
/cygdrive/c/TEMP/ccrltzdD.s:56: Error: no such instruction: `result .req r2'
/cygdrive/c/TEMP/ccrltzdD.s:57: Error: no such instruction: `curbit .req r3'
/cygdrive/c/TEMP/ccrltzdD.s:58: Error: no such instruction: `ip .req r12'
/cygdrive/c/TEMP/ccrltzdD.s:59: Error: no such instruction: `sp .req r13'
/cygdrive/c/TEMP/ccrltzdD.s:60: Error: no such instruction: `lr .req r14'
/cygdrive/c/TEMP/ccrltzdD.s:61: Error: no such instruction: `pc .req r15'
/cygdrive/c/TEMP/ccrltzdD.s:318: Error: expecting operand after ','; got
nothing
/cygdrive/c/TEMP/ccrltzdD.s:319: Error: no such instruction: `beq Ldiv0'
/cygdrive/c/TEMP/ccrltzdD.s:320: Error: expecting operand after ','; got
nothing
/cygdrive/c/TEMP/ccrltzdD.s:321: Error: expecting operand after ','; got
nothing
/cygdrive/c/TEMP/ccrltzdD.s:322: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/ccrltzdD.s:323: Error: no such instruction: `blo
Lgot_result'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: expecting operand after ','; got
nothing
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `cmplo
divisor,dividend'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `movlo
divisor,divisor,lsl'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `movlo
curbit,curbit,lsl'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `blo Loop1'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: expecting operand after ','; got
nothing
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `cmplo
divisor,dividend'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `movlo
divisor,divisor,lsl'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `movlo
curbit,curbit,lsl'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `blo Lbignum'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Warning: rest of line ignored; first
ignored character is `@'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `subhs
dividend,dividend,divisor'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `orrhs
result,result,curbit'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `subhs
dividend,dividend,divisor,lsr'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `orrhs
result,result,curbit,lsr'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `subhs
dividend,dividend,divisor,lsr'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `orrhs
result,result,curbit,lsr'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `subhs
dividend,dividend,divisor,lsr'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `orrhs
result,result,curbit,lsr'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: expecting operand after ','; got
nothing
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `movnes
curbit,curbit,lsr'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `movne
divisor,divisor,lsr'
/cygdrive/c/TEMP/ccrltzdD.s:325: Error: no such instruction: `bne Loop3'
/cygdrive/c/TEMP/ccrltzdD.s:327: Error: too many memory references for `mov'
/cygdrive/c/TEMP/ccrltzdD.s:328: Error: too many memory references for `mov'
/cygdrive/c/TEMP/ccrltzdD.s:332: Error: invalid char '[' beginning operand 2
`[sp'
/cygdrive/c/TEMP/ccrltzdD.s:332: Error: no such instruction: `bl ___div0'
/cygdrive/c/TEMP/ccrltzdD.s:332: Error: expecting operand after ','; got
nothing
/cygdrive/c/TEMP/ccrltzdD.s:332: Error: no such instruction: `ldmia
sp!,{pc}'

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Compiler errors...
  2002-02-01  1:22 Compiler errors Dimitri Frederickx
@ 2002-02-01 14:03 ` Alexandre Oliva
  0 siblings, 0 replies; 7+ messages in thread
From: Alexandre Oliva @ 2002-02-01 14:03 UTC (permalink / raw)
  To: Dimitri Frederickx; +Cc: gcc, gcc-help

On Jan 31, 2002, "Dimitri Frederickx" <dimi@flashmail.com> wrote:

> I try to get a compiler for wince and an arm processor (for an iPaq).
> In my configuration of gcc3.0.3: configure --target=arm-wince-pe

You need functional cross assembler and linker for the same target
before you can build a cross compiler.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: compiler errors
       [not found] <105.14f5db73.2a002122@aol.com>
@ 2002-04-30 11:49 ` Zane Dodson
  0 siblings, 0 replies; 7+ messages in thread
From: Zane Dodson @ 2002-04-30 11:49 UTC (permalink / raw)
  To: help-gcc; +Cc: Agw47

Hello Arnie,

On Tue, Apr 30, 2002 at 12:32:34PM -0400, Agw47@aol.com wrote:
| Zane,,
| 
| one more question..

Please post to the mailing list rather than me personally.

| i have symbol names in my c program that have a dollar sign in it, such as 
| $$carrier, 
| tk$last, etc.
| 
| the gnu compiler gives me syntax errors,,, anyway around that??

I think you may find it most helpful to read the GCC manual.  You
can do that with `man gcc' if the man page is installed.  It is also
available online at
  <URL:http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc.html>

Look for the option `-fdollars-in-identifiers'.  I think that will
do what you want.

Best regards,

-- 
Zane

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: compiler errors
  2002-04-29 13:12 compiler errors Agw47
  2002-04-29 13:25 ` John Love-Jensen
@ 2002-04-29 16:57 ` Zane Dodson
  1 sibling, 0 replies; 7+ messages in thread
From: Zane Dodson @ 2002-04-29 16:57 UTC (permalink / raw)
  To: help-gcc; +Cc: Agw47

On Mon, Apr 29, 2002 at 04:06:27PM -0400, Agw47@aol.com wrote:
| including all the includes?  how can i produce a listing so i can find the 
| errors?

Try the `-save-temps' flag.  See gcc(1) (excerpt below).
       -save-temps
              Store the usual "temporary" intermediate files per­
              manently;  place  them in the current directory and
              name them based on the source file.  Thus,  compil­
              ing  `foo.c'  with  `-c  -save-temps' would produce
              files `foo.cpp' and `foo.s', as well as `foo.o'.

Best regards,

--
Zane Dodson
zdodson@zdodson.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: compiler errors
  2002-04-29 13:12 compiler errors Agw47
@ 2002-04-29 13:25 ` John Love-Jensen
  2002-04-29 16:57 ` Zane Dodson
  1 sibling, 0 replies; 7+ messages in thread
From: John Love-Jensen @ 2002-04-29 13:25 UTC (permalink / raw)
  To: Agw47, help-gcc

Hi Arnie,

gcc -save-temps foo.c

Look at the "foo.ii" file that is created.

--Eljay

On 4/29/02 3:06 PM, "Agw47@aol.com" <Agw47@aol.com> wrote:

> hi
> 
> im running gcc on c programs on ibm rs/6000 aix.4.3.2.
> 
> some programs compile ok, but on most, i get errors, but on a /tmp file with
> line numbers much higher than the line numbers in the program.  when i try
> and find the /tmp file it is gone.. is this a listing of the program
> including all the includes?  how can i produce a listing so i can find the
> errors?
> '
> thanks you
> 
> Arnie Witt
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* compiler errors
@ 2002-04-29 13:12 Agw47
  2002-04-29 13:25 ` John Love-Jensen
  2002-04-29 16:57 ` Zane Dodson
  0 siblings, 2 replies; 7+ messages in thread
From: Agw47 @ 2002-04-29 13:12 UTC (permalink / raw)
  To: help-gcc

hi

im running gcc on c programs on ibm rs/6000 aix.4.3.2.

some programs compile ok, but on most, i get errors, but on a /tmp file with 
line numbers much higher than the line numbers in the program.  when i try 
and find the /tmp file it is gone.. is this a listing of the program 
including all the includes?  how can i produce a listing so i can find the 
errors?
'
thanks you

Arnie Witt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Compiler errors...
       [not found] <616BE6A276E3714788D2AC35C40CD18D39468A@whale.softwire.co.uk>
@ 2002-02-01  1:28 ` Rupert Wood
  0 siblings, 0 replies; 7+ messages in thread
From: Rupert Wood @ 2002-02-01  1:28 UTC (permalink / raw)
  To: 'Dimitri Frederickx'; +Cc: gcc-help

Dimitri Frederickx wrote:

> /cygdrive/c/TEMP/ccrltzdD.s:322: Error: too many memory 
> references for `cmp'

Have you built a cross-assembler and linker first? It looks like you're
feeding ARM code to an x86 assembler.

You also need target headers and C library, although you might get away
with newlib. See the CrossGCC FAQ at http://crossgcc.billgatliff.com/

Rup.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-30 18:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-01  1:22 Compiler errors Dimitri Frederickx
2002-02-01 14:03 ` Alexandre Oliva
     [not found] <616BE6A276E3714788D2AC35C40CD18D39468A@whale.softwire.co.uk>
2002-02-01  1:28 ` Rupert Wood
2002-04-29 13:12 compiler errors Agw47
2002-04-29 13:25 ` John Love-Jensen
2002-04-29 16:57 ` Zane Dodson
     [not found] <105.14f5db73.2a002122@aol.com>
2002-04-30 11:49 ` Zane Dodson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).