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]

Fwd: Re: GC Problems...


Hi All,

Rutger Ovidius pointed out off list that he has problems
building libgcj under Cygwin because of command-line
length limitations that used to be worked around when
building libgcj.la. I haven't looked into this much but
was wondering if this rang a bell with anyone....

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/

------- Start of forwarded message -------
From: Rutger Ovidius
To: Mohan Embar 
Reply-To: Rutger Ovidius <r_ovidius@eml.cc>
Subject: Fwd: Re: GC Problems...
Date: 9/11/2004 6:58:50 PM

Hi,

...

I completed my cross compile (and am on the install stage) under
cygwin with the 09/01 cvs version.  I had to manually edit the
Makefile in libjava.  The libgcj.la: target used to write the long
list of files to an output file and pass that on to libtool.  The
current one just passes them all as an argument (causing the problems).

The correct fix would be applied to Makefile.am, but I'm not very
familiar with it.

datal\gcc\build\crossgcc_build\i686-pc-mingw32\libjava\Makefile:
     
old:
libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
  $(libgcj_la_LINK) -rpath $(toolexeclibdir) $(libgcj_la_LDFLAGS) $(libgcj_la_OBJECTS) $(libgcj_la_LIBADD) $(LIBS)

new:
libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
  @echo Creating list of files to link...
  @: $(call write_entries_to_file,$(libgcj_la_OBJECTS) $(libgcj_la_LIBADD),libgcj.objectlist)
  $(libgcj_la_LINK) -rpath $(toolexeclibdir) $(libgcj_la_LDFLAGS) -objectlist libgcj.objectlist $(LIBS)


-------- End of forwarded message --------





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