This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [PATCH, 3/4] Enable libstdc++ as a DLL on windows platforms.


Kai Tietz wrote:

> Well, my concerns here are more in a general way of users using gcc
> for compiling source code written for windows. Believe me there are
> many projects (like mozilla, reactos, boehm-gc, ...) which want to
> compile their sources with VS and gcc. For those users the mis-use (in
> their opinion) of the _DLL macro is very annoying. This was the reason
> why I have the strong opinion here, that gcc shouldn't use this macro
> for win32 targets.

  Well, surely if they're compiling for MSVC using -D_DLL in order to get the
DLL version of the runtime libs, when they compile under GCC they will also
want to get the DLL version of the runtime libs?  (Ideally their configure
scripts will define it or not according to --enable/disable-static/shared?)  I
don't quite see why it would be misuse to make the GCC toolchain respond to
-D_DLL in the same way as the MSVC one, and isn't that what would result in
this case?

> But I would like to see Danny's opinion about this, before final
> decision about this is made.

  Likewise.

    cheers,
      DaveK


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