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: Building libgcj outside of GCC tree?


>>>>> "Colin" == Colin Fleming <colin.mailinglist@gmail.com> writes:

Colin> On 12/07/07, Tom Tromey <tromey@redhat.com> wrote:
>> A long time ago we used to do this.  Most likely, all the code has
>> been either deleted, rewritten, or rotted.  So, I'd imagine you'll
>> pretty much have to start from scratch.

Colin> Ok, thanks. If I do manage to do this, do you think I should be able
Colin> to get GCJ to link with the external lib or will it require GCJ
Colin> changes as well?

It depends on what you mean.  If you install your library and various
needed support files into the same install directory as gcj (basically
following how libgcj works now), then it will all just work.

OTOH if you want to install elsewhere then perhaps passing the
appropriate -B option to gcj will work.  And failing that then, yes,
you'll need to hack gcj.

FWIW gcj needs to see libgcj.spec, and it also knows where to find
libgcj.jar.  So, these are the things to look for in the source.

Tom


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