This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
gcj compile problems on powerpc (3.0 branch)
- To: java at gcc dot gnu dot org
- Subject: gcj compile problems on powerpc (3.0 branch)
- From: Mark Wielaard <mark at klomp dot org>
- Date: Tue, 20 Feb 2001 21:57:43 +0100
- References: <3A90A7EE.2346580B@albatross.co.nz> <Pine.LNX.4.10.10102191039560.6166-100000@cc42593-a>
Hi,
(continued from a build problem discussion on java-patches
http://gcc.gnu.org/ml/java-patches/2001-q1/msg00299.html)
On Mon, Feb 19, 2001 at 10:48:22AM -0500, Jeff Sturm wrote:
>
> It might be constructive to link a test c++ program with and without
> -msoft-float, and report any problems to the gcc list.
I cannot even get a simple c++ program to compile on powerpc :(
I always get the following errors:
mark@multatuli:~$ g++ hello.cc
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__SBSS2_END__'
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__init'
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__SBSS_END__'
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__SDATA2_START__'
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__SDATA_START__'
collect2: ld returned 1 exit status
I posted on gcc-help but nobody could help me (but I keep trying :).
http://gcc.gnu.org/ml/gcc-help/2001-02/msg00160.html
http://gcc.gnu.org/ml/gcc-help/2001-02/msg00175.html
Does anybody have a working (recent CVS from the branch) gcj on powerpc?
Cheers,
Mark
--
Stuff to read:
<http://www.toad.com/gnu/whatswrong.html>
What's Wrong with Copy Protection, by John Gilmore