public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* win32 crosscompiler on Solaris 2.6
@ 2000-02-09  5:35 Claes Lilliesköld
  2000-04-01  0:00 ` Claes Lilliesköld
  0 siblings, 1 reply; 2+ messages in thread
From: Claes Lilliesköld @ 2000-02-09  5:35 UTC (permalink / raw)
  To: GCC Help

Hello
I have tried to compile 2.95.2 on Solaris 2.6 using GCC 2.8.1.
My plan is to use it as cross compiler for windows.
This is my configuration:

./configure --target=i386-cygwin32 --prefix=../gcc -v

Below is the error I get in the catalog build/gcc.
It seems like the makefile tries to use the gcc that I'm building with
to
compile a i386 assembler file. If I just run the command that does the
compilation, it works fine to compile libgcc1.S.

Do I use a bad configuration, or is the makefile not working properly.

regards,
Claes

----------------------------------- error in the catalog gcc
------------------------------------------------
rm -f tmplibgcc1.a libgcc1.S
cp ./config/i386/cygwin.asm libgcc1.S
for name in _chkstk; \
do \
  echo ${name}; \
  ./xgcc -B../gcc/i386-cygwin32/bin/ -B./ -I../gcc/i386-cygwin32/include
-O2 -I./../winsup/include -DCROSS_COMPILE -DIN_GCC   -DSVR4  -g
-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; \
  ` if [ -f /export/home1/clli/gcc/gcc-build/gcc/../binutils/ar ] ; then
echo /export/home1/clli/gcc/gcc-build/gcc/../binutils/ar ; else if [
"sparc-sun-solaris2.6" = "i386-pc-cygwin32" ] ; then echo ar; else
t='s,x,x,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_chkstk
libgcc1.S: Assembler messages:
libgcc1.S:9: Error: Unknown opcode: `pushl'
libgcc1.S:10: Error: Illegal operands
libgcc1.S:11: Error: Unknown opcode: `addl'
libgcc1.S:13: Error: Unknown opcode: `cmpl'
libgcc1.S:14: Error: Unknown opcode: `jb'
libgcc1.S:16: Error: Unknown opcode: `subl'
libgcc1.S:17: Error: Unknown opcode: `orl'
libgcc1.S:18: Error: Unknown opcode: `subl'
libgcc1.S:21: Error: Unknown opcode: `subl'
libgcc1.S:22: Error: Unknown opcode: `orl'
libgcc1.S:24: Error: Illegal operands
libgcc1.S:25: Error: Illegal operands
libgcc1.S:27: Error: Illegal operands
libgcc1.S:28: Error: Illegal operands
libgcc1.S:29: Error: Bad expression
libgcc1.S:29: Error: Bad expression
make: *** [libgcc1-asm.a] Error 1


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

* win32 crosscompiler on Solaris 2.6
  2000-02-09  5:35 win32 crosscompiler on Solaris 2.6 Claes Lilliesköld
@ 2000-04-01  0:00 ` Claes Lilliesköld
  0 siblings, 0 replies; 2+ messages in thread
From: Claes Lilliesköld @ 2000-04-01  0:00 UTC (permalink / raw)
  To: GCC Help

Hello
I have tried to compile 2.95.2 on Solaris 2.6 using GCC 2.8.1.
My plan is to use it as cross compiler for windows.
This is my configuration:

./configure --target=i386-cygwin32 --prefix=../gcc -v

Below is the error I get in the catalog build/gcc.
It seems like the makefile tries to use the gcc that I'm building with
to
compile a i386 assembler file. If I just run the command that does the
compilation, it works fine to compile libgcc1.S.

Do I use a bad configuration, or is the makefile not working properly.

regards,
Claes

----------------------------------- error in the catalog gcc
------------------------------------------------
rm -f tmplibgcc1.a libgcc1.S
cp ./config/i386/cygwin.asm libgcc1.S
for name in _chkstk; \
do \
  echo ${name}; \
  ./xgcc -B../gcc/i386-cygwin32/bin/ -B./ -I../gcc/i386-cygwin32/include
-O2 -I./../winsup/include -DCROSS_COMPILE -DIN_GCC   -DSVR4  -g
-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; \
  ` if [ -f /export/home1/clli/gcc/gcc-build/gcc/../binutils/ar ] ; then
echo /export/home1/clli/gcc/gcc-build/gcc/../binutils/ar ; else if [
"sparc-sun-solaris2.6" = "i386-pc-cygwin32" ] ; then echo ar; else
t='s,x,x,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_chkstk
libgcc1.S: Assembler messages:
libgcc1.S:9: Error: Unknown opcode: `pushl'
libgcc1.S:10: Error: Illegal operands
libgcc1.S:11: Error: Unknown opcode: `addl'
libgcc1.S:13: Error: Unknown opcode: `cmpl'
libgcc1.S:14: Error: Unknown opcode: `jb'
libgcc1.S:16: Error: Unknown opcode: `subl'
libgcc1.S:17: Error: Unknown opcode: `orl'
libgcc1.S:18: Error: Unknown opcode: `subl'
libgcc1.S:21: Error: Unknown opcode: `subl'
libgcc1.S:22: Error: Unknown opcode: `orl'
libgcc1.S:24: Error: Illegal operands
libgcc1.S:25: Error: Illegal operands
libgcc1.S:27: Error: Illegal operands
libgcc1.S:28: Error: Illegal operands
libgcc1.S:29: Error: Bad expression
libgcc1.S:29: Error: Bad expression
make: *** [libgcc1-asm.a] Error 1


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

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-09  5:35 win32 crosscompiler on Solaris 2.6 Claes Lilliesköld
2000-04-01  0:00 ` Claes Lilliesköld

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