public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/12784] New: Add flag to request static libgcj.a when invoking gcj
@ 2003-10-27 2:53 jsturm at gcc dot gnu dot org
2003-10-27 3:07 ` [Bug java/12784] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jsturm at gcc dot gnu dot org @ 2003-10-27 2:53 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12784
Summary: Add flag to request static libgcj.a when invoking gcj
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsturm at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
It's useful but inconvenient to produce gcj-compiled executables linked to a
static libgcj.a archive, but dynamic libc etc.
The typical workarounds are:
- Configure with --disable-shared
- Remove libgcj.so from $prefix/lib
- Use -static and forgo a dynamic libc
A dynamic libgcj should remain the default, as it is recommended and will become
easier to deploy as the binary compatibility ABI is inplemented and libgcj.so
becomes prepackaged on popular distributions.
One suggestion is to name this flag -static-libgcj, similar to gcc's -static-libgcc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/12784] Add flag to request static libgcj.a when invoking gcj
2003-10-27 2:53 [Bug java/12784] New: Add flag to request static libgcj.a when invoking gcj jsturm at gcc dot gnu dot org
@ 2003-10-27 3:07 ` pinskia at gcc dot gnu dot org
2003-10-27 6:02 ` jsturm at gcc dot gnu dot org
2003-10-30 5:37 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-27 3:07 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12784
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-27 03:02 -------
I would say this should also happen for libstdc++ also because it has the same issues when it
comes to ABI as libgcj but that would be definting the perpose of shared libraries, right?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/12784] Add flag to request static libgcj.a when invoking gcj
2003-10-27 2:53 [Bug java/12784] New: Add flag to request static libgcj.a when invoking gcj jsturm at gcc dot gnu dot org
2003-10-27 3:07 ` [Bug java/12784] " pinskia at gcc dot gnu dot org
@ 2003-10-27 6:02 ` jsturm at gcc dot gnu dot org
2003-10-30 5:37 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: jsturm at gcc dot gnu dot org @ 2003-10-27 6:02 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12784
------- Additional Comments From jsturm at gcc dot gnu dot org 2003-10-27 04:07 -------
Perhaps. libstdc++ does have a bit more ABI stability than libgcj at this time,
though. I'd be inclined to not have a -static-libstdc flag unless there are g++
users requesting it. I don't know if there are.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/12784] Add flag to request static libgcj.a when invoking gcj
2003-10-27 2:53 [Bug java/12784] New: Add flag to request static libgcj.a when invoking gcj jsturm at gcc dot gnu dot org
2003-10-27 3:07 ` [Bug java/12784] " pinskia at gcc dot gnu dot org
2003-10-27 6:02 ` jsturm at gcc dot gnu dot org
@ 2003-10-30 5:37 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-30 5:37 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12784
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-10-30 05:27:57
date| |
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-30 5:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-27 2:53 [Bug java/12784] New: Add flag to request static libgcj.a when invoking gcj jsturm at gcc dot gnu dot org
2003-10-27 3:07 ` [Bug java/12784] " pinskia at gcc dot gnu dot org
2003-10-27 6:02 ` jsturm at gcc dot gnu dot org
2003-10-30 5:37 ` pinskia at gcc dot gnu dot org
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).