public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* shared libgcc
@ 2000-12-14 15:43 Hugues Talbot
  2000-12-14 19:55 ` [Mingw-users] " Jeff Sturm
  0 siblings, 1 reply; 2+ messages in thread
From: Hugues Talbot @ 2000-12-14 15:43 UTC (permalink / raw)
  To: mingw-users; +Cc: pthreads-win32

	Thomas wrote:

> I do not see any reason why libgcc must always be static. I had never had
> any trouble with the gcc.dll. If someone cares about create a compiler
> switch to select between static and shared libgcc.

	I've never tried this but isn't the option there already?

gcc-2.95.2 % ./configure --help
[...]
     * --enable-shared -- Build shared versions of the C++ runtime
       libraries if supported --disable-shared is the default.                 

[...]



	Cheers

--------
Hugues Talbot, CSIRO Mathematical & Information Sciences
Locked Bag 17, Building E6B, Macquarie University  North Ryde  
NSW  2113  Australia           Ph: 61 2 9325 3208 Fax: 61 2 9325 3200

The Six Phases of a Project: (1) Enthusiasm (2) Disillusionment 
(3) Panic (4) Search for the Guilty (5) Punishment of the Innocent 
(6) Praise for the non-participants


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Mingw-users] shared libgcc
  2000-12-14 15:43 shared libgcc Hugues Talbot
@ 2000-12-14 19:55 ` Jeff Sturm
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Sturm @ 2000-12-14 19:55 UTC (permalink / raw)
  To: Hugues Talbot; +Cc: mingw-users, pthreads-win32

Hugues Talbot wrote:
> > I do not see any reason why libgcc must always be static. I had never had
> > any trouble with the gcc.dll. If someone cares about create a compiler
> > switch to select between static and shared libgcc.
> 
>         I've never tried this but isn't the option there already?
> 
> gcc-2.95.2 % ./configure --help
> [...]
>      * --enable-shared -- Build shared versions of the C++ runtime
>        libraries if supported --disable-shared is the default.

--enable-shared in gcc 2.95 and earlier affects the C++ runtime only
(and Java runtime, if built).  libgcc is always static.

GCC 3.0 will switch to a shared libgcc, IIRC.  It's not perfect but
rather trades one set of problems for another.  EH is one of the main
considerations.

I don't know how much, if any, of this is applicable to Win32 however. 
Having --enable-shared do the right thing for mingw may require patches,
and it's not clear who is maintaining gcc for mingw these days.

Jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-14 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-14 15:43 shared libgcc Hugues Talbot
2000-12-14 19:55 ` [Mingw-users] " Jeff Sturm

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).