Re: the build

From: Nic Ferrier <nferrier(at)tapsellferrier(dot)co(dot)uk>
To: Barry Lind <blind(at)xythos(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: the build
Date: 2003-04-16 08:52:29
Message-ID: 87smsij036.fsf@pooh-sticks-bridge.tapsellferrier.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches

Barry Lind <blind(at)xythos(dot)com> writes:

> Nic Ferrier wrote:
> > But the important point is that the test MUST be done to the target
> > java platform and NOT the platform running ant as it is done at the
> > moment.
>
> Why isn't the platform running ant the same as the target platform?

Because you might well want to cross compile, maybe use javac to compile
code to run on gij (the GNU java interpreter).


> ISTM that ant is designed to support multiple compilers (at least javac
> and jikes) so supporting gcj shouldn't be to difficult.

Yes, I can compile the code with GCJ. I'm already doing that. But
choosing which version to compile is more difficult.

>
> Are you trying to use gcj to compile to bytecode or to native?

bytecode. for now. It works. But the integration with the build is
zero.

Are you wedded to using ANT to auto-select the version to build? If
so would you accept an ANT task to do the selection properlt (ie:
based on the target VM).

Nic

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-04-16 09:02:50 Re: setCatalog
Previous Message Kris Jurka 2003-04-16 07:55:58 Re: setCatalog

Browse pgsql-patches by date

  From Date Subject
Next Message ow 2003-04-16 12:20:17 Re: Are we losing momentum?
Previous Message Shridhar Daithankar 2003-04-16 07:55:14 Re: Are we losing momentum?