public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "borisdusek at cmail dot cz" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/24403] --enable-java-awt=qt fails to build
Date: Sat, 27 May 2006 20:23:00 -0000	[thread overview]
Message-ID: <20060527202342.28930.qmail@sourceware.org> (raw)
In-Reply-To: <bug-24403-5606@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from borisdusek at cmail dot cz  2006-05-27 20:23 -------
(In reply to comment #0)
> Apparently CPPFLAGS is missing a -I for the newly built compiler's libstdc++

I borrowed a snip from libjava/Makefile.am section for xlib, which also needs
c++/libstdc++, then (since I am no autoconf/automake expert) made an awful hack
with CTRL+Z during compile-time and manually added the correct flags to
AM_CXXFLAGS in libjava/classpath/native/jni/qt-peer/Makefile with variables
substituted , and the qt-peers built with no problem and worked. The snip from
xlib is here:

lib_gnu_awt_xlib_la_CPPFLAGS = \
    $(AM_CPPFLAGS) \
    -I../libstdc++-v3/include \
    -I../libstdc++-v3/include/$(target_noncanonical) \
    -I$(srcdir)/../libstdc++-v3/libsupc++

so my Makefile has:

AM_CXXFLAGS = -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui \
    -I/home/tmp/mybuild/gcc-trunk/i686-pc-linux-gnu/libstdc++-v3/include \
   
-I/home/tmp/mybuild/gcc-trunk/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
\
    -I/usr/src/gcc-trunk/libstdc++-v3/libsupc++


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24403


  parent reply	other threads:[~2006-05-27 20:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-16 20:52 [Bug libgcj/24403] New: " bero at arklinux dot org
2005-10-16 20:54 ` [Bug libgcj/24403] " pinskia at gcc dot gnu dot org
2005-11-03  9:29 ` bero at arklinux dot org
2005-11-03 18:24 ` bero at arklinux dot org
2005-11-03 23:18 ` andreast at gcc dot gnu dot org
2005-11-08 20:06 ` tromey at gcc dot gnu dot org
2006-05-27 20:23 ` borisdusek at cmail dot cz [this message]
2006-07-03  0:08 ` pluto at agmk dot net
2006-08-09  1:04 ` bero at arklinux dot org
2006-08-15 16:16 ` bero at arklinux dot org
2006-08-17  1:09 ` bero at arklinux dot org
2007-05-24 10:53 ` bero at arklinux dot org
2007-05-24 16:59 ` tromey at gcc dot gnu dot org
2007-05-25 11:24 ` bero at arklinux dot org
2007-07-17  1:09 ` rob1weld at aol dot com
2007-07-17 13:05 ` rob1weld at aol dot com
2008-04-28 10:59 ` bero at arklinux dot org
2009-01-05 22:58 ` rob1weld at aol dot com
2009-01-19 17:43 ` rob1weld at aol dot com

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=20060527202342.28930.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@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).