This is the mail archive of the gcc@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]

Re: Can someone please explain difference between g++ linking and using ld?



> Amazingly or
> not to those who might know why, exceptions work from the shared library
> thus produced. So now my question isn't about whether shared libraries
> and exceptions are compatible. Instead I was wondering if someone could
> please take the time to explain how invoking the linker through g++
> is different than invoking the linker directly.

Invoking the linker through g++ passes a number of flags to the linker;
these flags are platform-dependent.  So yes, you could call the linker
directly, but the command you would need to use would be different on
each OS.


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