public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: assembler errors (arm) cross compiler under Cygwin
@ 2001-03-15  7:46 nhat.dao
  2001-03-15 10:11 ` Mumit Khan
  0 siblings, 1 reply; 2+ messages in thread
From: nhat.dao @ 2001-03-15  7:46 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1787 bytes --]

hi,

i close some windows, and i make again
=> ok

now, i have some pb about arm library.
Somebody can help me to understand "lisbgcc.a and Cross-Compilers" ?
(www.objsw.com/docs/gcc_51.hrml)
i don t see binds with my problem ????

make LANGUAGES= « c++ »
=> /cygdrive/c/TEMP/cc0ZPKWm.s: Assembler messages:
/cygdrive/c/TEMP/cc0ZPKWm.s:2: Error: Rest of line ignored. First
ignored character is `@'.
[...]
make[1]: *** [libgcc1-asm.a] Error 1

thinx in advance for your answer

/pegase
mailto_nhat.dao@philips.com (remove mailto_ to reply)

Pegase a écrit :

> i try this :
> > gcc/config/arm/arm.[ch] files with something else (eg
> Hint->ARM_HINT)
> => #define ARM_HINT HOST_WIDE_INT
>
> i rebuild ...
>
> [...]
>
> make[1]: *** virtual memory exhausted.  Stop.
> make[1]: Leaving directory `/gcc-2.95.2-6/gcc'
> make: *** [all-gcc] Error 2
>
>
> Pegase a écrit :
>
> > hello,
> >
> > 1)
> > i do that :
> > (/gcc-2.95.2-6 )$ ./configure --target=arm-strongarm-aout
> > ==> ok for my makefile.
> >
> > 2)
> > next, build the compiler, i do that :
> > (/gcc-2.95.2-6 )$ make LANGUAGES= « c++ »
> > [...]
> > /usr/include/w32api/winnt.h:2266: two or more data types in
> declaration
> > of
> > `type name'
> > make[1]: *** [prefix.o] Error 1
> >
> > /pegase
> > Paris in France
> >
> > > my problem :
> > > i have linux and i do that :
> > > sources file.c => build, StrongArm cross compiler GCC
> (sa110-le-gcc)
> > =>bin
> > > for Assabet (Intel)
> > >
> > > now,
> > > i would like do the same in Cygwin ?
> > > sources file.c => cross compiler GCC into Cygwin ???? => bin for
> > > Assabet(Intel)
> > >
> > >
> > > version of Cygwin : "CYGWIN_NT-4.0 PCCXXX 1.1.8(0.34/3/2)
> > 2001-01-3110:08
> > > i686 unknown"
> > >
> > > thinx in advance for your answer.
> > >

[-- Attachment #2: error.txt --]
[-- Type: text/plain, Size: 6051 bytes --]

rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/float.h
if [ xfloat-i64.h != xMakefile.in ]; then \
  cp ./config/float-i64.h include/float.h && \
  chmod a+r include/float.h; \
else :; fi
rm -f include/README
cp ./README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
if [ -f libgcc2.ready ] ; then \
        true; \
$
        touch libgcc2.ready; \
fi
rm -f tmplibgcc1.a libgcc1.S
cp ./config/arm/lib1funcs.asm libgcc1.S
for name in _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls; \
do \
  echo ${name}; \
  /gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -I/usr/local/arm-strongarm-
aout/include -O2  -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
   -I. -I. -I./config -I./../include -c -DL${name} libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  arm-strongarm-aout-ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_udivsi3
/cygdrive/c/TEMP/cc0ZPKWm.s: Assembler messages:
/cygdrive/c/TEMP/cc0ZPKWm.s:2: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:3: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:72: Error: no such instruction: `dividend .req r0'
/cygdrive/c/TEMP/cc0ZPKWm.s:73: Error: no such instruction: `divisor .req r1'
/cygdrive/c/TEMP/cc0ZPKWm.s:74: Error: no such instruction: `result .req r2'
/cygdrive/c/TEMP/cc0ZPKWm.s:75: Error: no such instruction: `curbit .req r3'
/cygdrive/c/TEMP/cc0ZPKWm.s:76: Error: no such instruction: `ip .req r12'
/cygdrive/c/TEMP/cc0ZPKWm.s:77: Error: no such instruction: `sp .req r13'
/cygdrive/c/TEMP/cc0ZPKWm.s:78: Error: no such instruction: `lr .req r14'
/cygdrive/c/TEMP/cc0ZPKWm.s:79: Error: no such instruction: `pc .req r15'
/cygdrive/c/TEMP/cc0ZPKWm.s:87: Error: expecting operand after ','; got nothing
/cygdrive/c/TEMP/cc0ZPKWm.s:88: Error: no such instruction: `beq Ldiv0'
/cygdrive/c/TEMP/cc0ZPKWm.s:89: Error: expecting operand after ','; got nothing
/cygdrive/c/TEMP/cc0ZPKWm.s:90: Error: expecting operand after ','; got nothing
/cygdrive/c/TEMP/cc0ZPKWm.s:91: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/cc0ZPKWm.s:92: Error: no such instruction: `bcc Lgot_result'
/cygdrive/c/TEMP/cc0ZPKWm.s:94: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:95: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:96: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:97: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:98: Error: expecting operand after ','; got nothing
/cygdrive/c/TEMP/cc0ZPKWm.s:99: Error: no such instruction: `cmpcc divisor,dividend'
/cygdrive/c/TEMP/cc0ZPKWm.s:100: Error: no such instruction: `movcc divisor,divisor,lsl'
/cygdrive/c/TEMP/cc0ZPKWm.s:101: Error: no such instruction: `movcc curbit,curbit,lsl'
/cygdrive/c/TEMP/cc0ZPKWm.s:102: Error: no such instruction: `bcc Loop1'
/cygdrive/c/TEMP/cc0ZPKWm.s:105: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:106: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:107: Error: expecting operand after ','; got nothing
/cygdrive/c/TEMP/cc0ZPKWm.s:108: Error: no such instruction: `cmpcc divisor,dividend'
/cygdrive/c/TEMP/cc0ZPKWm.s:109: Error: no such instruction: `movcc divisor,divisor,lsl'
/cygdrive/c/TEMP/cc0ZPKWm.s:110: Error: no such instruction: `movcc curbit,curbit,lsl'
/cygdrive/c/TEMP/cc0ZPKWm.s:111: Error: no such instruction: `bcc Lbignum'
/cygdrive/c/TEMP/cc0ZPKWm.s:114: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:115: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:116: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:117: Error: Rest of line ignored. First ignored character is `@'.
/cygdrive/c/TEMP/cc0ZPKWm.s:118: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/cc0ZPKWm.s:119: Error: no such instruction: `subcs dividend,dividend,divisor'
/cygdrive/c/TEMP/cc0ZPKWm.s:120: Error: no such instruction: `orrcs result,result,curbit'
/cygdrive/c/TEMP/cc0ZPKWm.s:121: Error: too many memory references for `cmp'
$
/cygdrive/c/TEMP/cc0ZPKWm.s:123: Error: no such instruction: `orrcs result,result,curbit,lsr'
/cygdrive/c/TEMP/cc0ZPKWm.s:124: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/cc0ZPKWm.s:125: Error: no such instruction: `subcs dividend,dividend,divisor,lsr'
/cygdrive/c/TEMP/cc0ZPKWm.s:126: Error: no such instruction: `orrcs result,result,curbit,lsr'
/cygdrive/c/TEMP/cc0ZPKWm.s:127: Error: too many memory references for `cmp'
/cygdrive/c/TEMP/cc0ZPKWm.s:128: Error: no such instruction: `subcs dividend,dividend,divisor,lsr'
/cygdrive/c/TEMP/cc0ZPKWm.s:129: Error: no such instruction: `orrcs result,result,curbit,lsr'
/cygdrive/c/TEMP/cc0ZPKWm.s:130: Error: expecting operand after ','; got nothing
/cygdrive/c/TEMP/cc0ZPKWm.s:131: Error: no such instruction: `movnes curbit,curbit,lsr'
/cygdrive/c/TEMP/cc0ZPKWm.s:132: Error: no such instruction: `movne divisor,divisor,lsr'
/cygdrive/c/TEMP/cc0ZPKWm.s:133: Error: no such instruction: `bne Loop3'
/cygdrive/c/TEMP/cc0ZPKWm.s:135: Error: too many memory references for `mov'
/cygdrive/c/TEMP/cc0ZPKWm.s:136: Error: no instruction mnemonic suffix given and no register operands; can't s
ize instruction
/cygdrive/c/TEMP/cc0ZPKWm.s:139: Error: invalid char '[' beginning operand 2 `[sp'
/cygdrive/c/TEMP/cc0ZPKWm.s:140: Error: no such instruction: `bl ___div0'
/cygdrive/c/TEMP/cc0ZPKWm.s:141: Error: expecting operand after ','; got nothing
/cygdrive/c/TEMP/cc0ZPKWm.s:142: Error: no such instruction: `ldmia sp!,{pc}^'
make[1]: *** [libgcc1-asm.a] Error 1

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

* Re: assembler errors (arm) cross compiler under Cygwin
  2001-03-15  7:46 assembler errors (arm) cross compiler under Cygwin nhat.dao
@ 2001-03-15 10:11 ` Mumit Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Mumit Khan @ 2001-03-15 10:11 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 847 bytes --]

On Thu, 15 Mar 2001 nhat.dao@philips.com wrote:

> hi,
> 
> i close some windows, and i make again
> => ok
> 
> now, i have some pb about arm library.
> Somebody can help me to understand "lisbgcc.a and Cross-Compilers" ?
> (www.objsw.com/docs/gcc_51.hrml)
> i don t see binds with my problem ????
> 
> make LANGUAGES= « c++ »
> => /cygdrive/c/TEMP/cc0ZPKWm.s: Assembler messages:
> /cygdrive/c/TEMP/cc0ZPKWm.s:2: Error: Rest of line ignored. First
> ignored character is `@'.
> [...]
> make[1]: *** [libgcc1-asm.a] Error 1

You're probably using the wrong assembler. In any case, this is off topic
in this list, and you really need to take this discussion to the
appropriate forum, such as the binutils or cross gcc mailing list.

Regards,
Mumit



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2001-03-15 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-15  7:46 assembler errors (arm) cross compiler under Cygwin nhat.dao
2001-03-15 10:11 ` Mumit Khan

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).