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: another libgcj build-process question



Tom Tromey <tromey@redhat.com> writes:

> Adam> Okay, I'm *really* close to having something useful...

> Wow, cool.  Did you run into the case-insensitive-filesystem problems
> with gcj?

No, this is one of the reasons I felt it worthwhile to spend two days
creating a cross-compiler... I build on linux and then ssh to a cygwin
machine to test my binaries. *Much* more comfortable setup. I'm
documenting the ordeal here:

  http://www.xwt.org/creating.a.mingw.crosscompiler.html

It's not much of an issue anyways; mingw can't host builds since it's
not POSIX-compliant.

> Adam> Last problem is that my build isn't pulling all the nat*.o files
> Adam> into libgcj.a when it invokes "ar". Can anybody tell me where
> Adam> the "magic list 'o object files" is in the configure setup? I
> Adam> found a "magic list 'o .cc files to compile" list in
> Adam> Makefile.in, but no list of which ones to stuff into libgcj.a.
> 
> The `libgcj_la_SOURCES' macro in Makefile.am lists the files that go
> in.  It references $(nat_source_files).
> 
> This gets turned into libgcj_la_OBJECTS in Makefile.in.  Automake does
> the transformation.
> 
> libtool is responsible for taking this list and building libgcj.a.

Sweet.

  - a


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