This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]