This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch 3.4/3.5] libffi & libjava port for hppa-linux
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: aph at redhat dot com (Andrew Haley)
- Cc: doko at cs dot tu-berlin dot de, gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org, tausq at debian dot org, gt%debian dot org dot a dot tobler at schweiz dot ch
- Date: Sat, 20 Mar 2004 14:43:08 -0500 (EST)
- Subject: Re: [patch 3.4/3.5] libffi & libjava port for hppa-linux
> > how is a language disabled for one specific target?
>
> e.g.
>
> hppa*-*-*)
> # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
> # build on HP-UX 10.20.
> noconfigdirs="$noconfigdirs ld shellutils ${libgcj}"
>
> in configure.in.
I believe that Matthias is aware of this. If you do this, then
you need to edit configure.in to enable libjava. You need autoconf
and friends to regenerate configure. Then, configure will break
regularly when you use cvs. It's not as bad as libffi/configure
which I think still needs a special version of autoconf.
We would like a more user friendly way of doing this. One possibility would
be that --enable-languages=java or --enable-languages=all would result
in libjava being built for the target. However, if --enable-languages
is not specified or doesn't include java, then the library wouldn't be
built.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)