public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Claes Lilliesköld <clli@enea.se>
To: GCC Help <gcc-help@gcc.gnu.org>
Subject: win32 crosscompiler on Solaris 2.6
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <38A16D8C.952AF49B@enea.se> (raw)
Message-ID: <20000401000000.VmK4l3lKHa-M1kkOvOXfVcLM89DI8RcQNluqWDPECs8@z> (raw)

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


             reply	other threads:[~2000-04-01  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-09  5:35 Claes Lilliesköld [this message]
2000-04-01  0:00 ` Claes Lilliesköld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38A16D8C.952AF49B@enea.se \
    --to=clli@enea.se \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).