g++ -vs- libgcj

Mark Mitchell mark@codesourcery.com
Tue Jun 20 08:58:00 GMT 2000


>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:

    Alexandre> On Jun 20, 2000, Zack Weinberg <zack@wolery.cumb.org>
    Alexandre> wrote:

    >> At least in the context of the GCC tree, we know it is being
    >> built with GCC, so we could just use -fPIC and -shared.

    Alexandre> I wish it were that simple to create shared libraries
    Alexandre> portably.  Even when using GCC, there are so many
    Alexandre> linker-related differences that we can't keep it that
    Alexandre> simple while enabling shared libraries on as many
    Alexandre> platforms as possible :-(

Whatever we decide to do, it should probably be the same for libgcj,
libstdc++, and the other runtime support libraries.  We've gotten by
this far without libtool -- but I guess you're saying that
--enable-shared doesn't work on some platforms where there is shared
library support?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-bugs mailing list