public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: "Billinghurst, David \(CRTS\)" <David.Billinghurst@riotinto.com>
To: bryce@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: RE: libgcj/1736
Date: Tue, 27 Mar 2001 22:26:00 -0000	[thread overview]
Message-ID: <20010328062600.27951.qmail@sourceware.cygnus.com> (raw)

The following reply was made to PR libgcj/1736; it has been noted by GNATS.

From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: "'Bryce McKinlay'" <bryce@albatross.co.nz>
Cc: "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>
Subject: RE: libgcj/1736
Date: Mon, 26 Mar 2001 23:59:25 -0000

 Attached is a patch to Makefile.am for this.  It isn't fully tested, as I am
 having autotools problems. However:
 *	it is similar to the existing code
 *	corresponding changes to the Makefile did the right thing and 
 *	I could generate a reasonable Makefile.in.
 
 The change to the libffi_files macro works around a quoting problem.
 
 Unfortunately this just reveals another libtool problem, which I haven't
 looked at yet.  Still, it is progress.
 
 Index: Makefile.am
 ===================================================================
 RCS file: /cvs/gcc/egcs/libjava/Makefile.am,v
 retrieving revision 1.134
 diff -c -r1.134 Makefile.am
 *** Makefile.am	2001/03/23 05:18:16	1.134
 --- Makefile.am	2001/03/26 23:56:11
 ***************
 *** 132,138 ****
   x_javao_files = $(x_java_source_files:.java=.lo)
   
   ## Extract the libffi object file names.
 ! libffi_files = `$(AR) t ../libffi/.libs/libffi.a 2>/dev/null | sed
 's/\.o/\.lo/g' | sed 's/^/..\/libffi\//g'`
   
   libgcj_la_SOURCES = prims.cc posix.cc jni.cc exception.cc \
   	resolve.cc defineclass.cc interpret.cc name-finder.cc \
 --- 132,138 ----
   x_javao_files = $(x_java_source_files:.java=.lo)
   
   ## Extract the libffi object file names.
 ! libffi_files = $shell($(AR) t ../libffi/.libs/libffi.a 2>/dev/null | sed
 's/\.o/\.lo/g' | sed 's/^/..\/libffi\//g')
   
   libgcj_la_SOURCES = prims.cc posix.cc jni.cc exception.cc \
   	resolve.cc defineclass.cc interpret.cc name-finder.cc \
 ***************
 *** 265,272 ****
   ## Pass the list of object files to libtool in a temporary file to 
   ## avoid tripping platform command line length limits.
   libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
 ! 	@echo $(libgcj_la_OBJECTS) > libgcj.objectlist;
 ! 	@echo $(libgcj_la_LIBADD) >> libgcj.objectlist;
   	$(libgcj_la_LINK) -objectlist libgcj.objectlist -rpath
 $(toolexeclibdir) $(libgcj_la_LDFLAGS) $(LIBS)
   
   libgcjx.la: $(libgcjx_la_OBJECTS) $(libgcjx_la_DEPENDENCIES)
 --- 265,273 ----
   ## Pass the list of object files to libtool in a temporary file to 
   ## avoid tripping platform command line length limits.
   libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
 ! 	@:  $(shell echo Creating list of object files ...) \
 ! 	$(shell rm -f libgcj.objectlist || :) \
 ! 	$(foreach libgcj.object,$+,$(shell echo $(libgcj.object) >>
 libgcj.objectlist))
   	$(libgcj_la_LINK) -objectlist libgcj.objectlist -rpath
 $(toolexeclibdir) $(libgcj_la_LDFLAGS) $(LIBS)
   
   libgcjx.la: $(libgcjx_la_OBJECTS) $(libgcjx_la_DEPENDENCIES)
 
 
 > -----Original Message-----
 > From:	Bryce McKinlay [SMTP:bryce@albatross.co.nz]
 > Sent:	Saturday, 24 March 2001 9:05
 > To:	Billinghurst, David (CRTS)
 > Cc:	bryce@gcc.gnu.org; gcc-prs@gcc.gnu.org
 > Subject:	Re: libgcj/1736
 > 
 > OK, Tom and Oliva thought that might happen.
 > 
 > In Makefile.am, theres a line that says:
 > 
 > ## Create a list of all Java sources, without exceeding any shell limits.
 > 
 > followed by some code that uses a foreach loop to echo the filenames one
 > at a
 > time.
 > 
 > Could you try adapting that code to work for the objectlist case?
 > 
 > regards
 > 
 >   [ bryce ]
 > 


             reply	other threads:[~2001-03-27 22:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27 22:26 Billinghurst, David (CRTS) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-04-01  0:00 libgcj/1736 Alexandre Oliva
2001-04-01  0:00 libgcj/1736 Bryce McKinlay
2001-04-01  0:00 libgcj/1736 Robert Boehne
2001-03-27 22:16 libgcj/1736 Billinghurst, David (CRTS)
2001-03-27  5:16 libgcj/1736 Billinghurst, David (CRTS)
2001-03-27  4:06 libgcj/1736 Billinghurst, David (CRTS)
2001-03-26 18:26 libgcj/1736 Bryce McKinlay
2001-03-26 16:56 libgcj/1736 Bryce McKinlay
2001-03-26 16:16 libgcj/1736 Bryce McKinlay
2001-03-26 16:06 libgcj/1736 Billinghurst, David (CRTS)
2001-03-23  5:16 libgcj/1736 Billinghurst, David (CRTS)
2001-03-22 21:26 libgcj/1736 bryce
2001-03-22 21:26 libgcj/1736 bryce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010328062600.27951.qmail@sourceware.cygnus.com \
    --to=david.billinghurst@riotinto.com \
    --cc=bryce@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).