This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: section-gc and gcj
- From: Anthony Green <green at redhat dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: 04 Jan 2002 01:46:17 -0800
- Subject: Re: section-gc and gcj
- References: <86advuwsvy.fsf@megacz.com>
On Thu, 2002-01-03 at 22:08, Adam Megacz wrote:
> - Do -ffunction-sections and -fdata-sections work with gcj?
I tried this a few weeks ago on x86 Linux and it worked fine.
> - If the above works, and I manually strip the symbols of functions I
> know I won't use, and I enable section-gc in the linker, will the
> linker properly drop such functions?
I believe so.
> - (kinda OT) does anybody know if the latest mingw ld offers
> section-gc?
Section GC has been part of GNU ld for some time now (on the order of
years now). Does mingw ld == GNU ld? I don't know if section GC works
for non-ELF targets (which I assume mingw is).
AG