----------------------------------------------------------------------
From: Jim Nance <[email protected]>
Subject: Can someone update the cross compiler instructions?
Date: Tue, 18 Oct 94 16:50:27 EDT
I would like to build a sun->linux cross compiler. I have done this before
using the instructions in the GCC-FAQ, however they seem to be quite out of
date.
Specifically, I would like to be able to build either a.out or ELF executables,
using the latest gcc. I never did get shared libs working the last time I
build the cross compiler, and I would like to get it right this time.
Thanks for any help.
Jim
------------------------------
From: [email protected]
Subject: Warnings from latest g++
Date: Tue, 18 Oct 94 22:14 BST
Due to g++ version 2.5.8 being unable to compile some code I had I
upgraded to the latest snapshot of gcc. This version is able to
compile the code, but I now get the following warnings.
In file included from telnet.cc:17:
/usr/include/unistd.h:263: warning: declaration of `volatile void _exit(int)'
/usr/include/unistd.h:263: warning: conflicts with built-in declaration `void _exit(int)'
In file included from telnet.cc:22:
/usr/include/stdlib.h:246: warning: declaration of `volatile void abort()'
/usr/include/stdlib.h:246: warning: conflicts with built-in declaration `void abort()'
/usr/include/stdlib.h:262: warning: declaration of `volatile void exit(int)'
/usr/include/stdlib.h:262: warning: conflicts with built-in declaration `void exit(int)'
It seems that the prototypes that g++ version 2.6.0-941014 expects
differ from those in the header files supplied with libc.so.4.6.16.
David
------------------------------
End of GCC Digest
*****************
-------