This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Compiling SWT application with GNU gcj


Michael Koch writes:
> On Tue, Oct 11, 2005 at 11:39:48AM +0100, Andrew Haley wrote:
> >  > > I have compiled with success a java program without graphic... so gcj is
> >  > > supposed to work properly.
> >  > > 
> >  > > Gcj --version return this:
> >  > > gcj-4.0 (GCC) 4.0.0 20050301 (prerelease) (Debian 4.0-0pre6ubuntu7)
> >  > > 
> >  > > I have the same problem on another machine with gcj 4.0.2 from Debian
> >  > > unstable (ppc).
> >  > > 
> >  > > Have someone any hint for me?
> >  > 
> >  > Make sure libgcj6-dev and libgcj-dev are installed. These are needed
> >  > when compiling to native (not when compiling to bytecode).
> > 
> > Oh dear.  So, it's possible to install gcj but not libgcj when using
> > Debian packaging.  I wonder if perhaps we could make gcj spit out an
> > error message when libgcj is missing, telling people that perhaps they
> > need to install libgcj.
> > 
> > Otherwise we are going to see a *lot* of reports like this one.
> 
> We (in Debian) already have a lot of this. Perhaps we should consider
> make gcj(-4.0) depending on libgcj(6)-dev instead of recommending it.
> In Debian normal users are considered to install all recommends and only
> not install them when you know what you are doing. The tools do this but
> users are "smart" enough circumvent this ... :-(
> 
> Matthias: Are you considering a Depends: instead of a Recommends: ?

There was a bug report, claiming that it's not strictly needed for
byte-compiling, if you do not want/need native compilation.  Looks
like this confuses more than it helps. So yes, better make it a hard
dependency again.

  Matthias


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