This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj does not build on Solaris (X11 headers incorrect)
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: gcj does not build on Solaris (X11 headers incorrect)
- From: Martin Kahlert <martin dot kahlert at infineon dot com>
- Date: Thu, 22 Feb 2001 11:28:05 +0100
- Cc: java at gcc dot gnu dot org
- References: <20010222093220.A32494@keksy.muc.infineon.com> <3A94E823.EBC2F870@albatross.co.nz>
- Reply-To: martin dot kahlert at infineon dot com
On Thu, Feb 22, 2001 at 11:21:23PM +1300, Bryce McKinlay wrote:
> Martin Kahlert wrote:
>
> > The newly built g++ seems to insist on correct C++, but you will have to wait some
> > time for SUN to change their headers.
> >
> > Any suggestions?
>
> Read the FAQ:
>
> http://gcc.gnu.org/fom_serv/cache/25.html
>
> [ bryce ]
>
> P.S. Or you could update to the latest tree - the xlib peers are disabled by default
> as of today.
Thanks for your reply.
This patch for libjava/Makefile leads (for me) to a working gcj on Solaris:
*** Makefile.in.old Tue Feb 20 08:17:41 2001
--- Makefile.in Thu Feb 22 10:45:05 2001
***************
*** 157,163 ****
WARNINGS = -W -Wall
AM_CXXFLAGS = -fno-rtti -fvtable-thunks -fasynchronous-exceptions \
! -fdollars-in-identifiers \
@LIBGCJ_CXXFLAGS@ @EXCEPTIONSPEC@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE
@USING_GCC_TRUE@AM_CFLAGS = @USING_GCC_TRUE@@LIBGCJ_CFLAGS@ $(WARNINGS)
--- 157,163 ----
WARNINGS = -W -Wall
AM_CXXFLAGS = -fno-rtti -fvtable-thunks -fasynchronous-exceptions \
! -fdollars-in-identifiers -fpermissive \
@LIBGCJ_CXXFLAGS@ @EXCEPTIONSPEC@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE
@USING_GCC_TRUE@AM_CFLAGS = @USING_GCC_TRUE@@LIBGCJ_CFLAGS@ $(WARNINGS)
Thanks again,
Martin.
--
The early bird gets the worm. If you want something else for
breakfast, get up later.