-shared

Ryan Schmidt ryandesign at macports.org
Fri Aug 6 19:19:35 PDT 2010


On Aug 6, 2010, at 20:42, Bradley Giesbrecht wrote:

>>> Can anyone confirm that -shared will just be ignored by Apple gcc and thereby be safe in our MacPorts environment?
>> 
>> My recollection is that -shared is ignored by Snow Leopard's compiler but it throws a fatal error on Leopard's. If that's true, you'll want to remove -shared for compatibility. If you can't test on Leopard, send me a portfile and I can.
> 
> I'm on Leopard and it's building without error and so far seems to run fine, well since this morning anyways. What about Tiger?

Maybe I'm misremembering, and it was Tiger, not Leopard, with this problem.

Or maybe it was that using just -shared would be a problem, but that since you're also using -dynamiclib it's ok.

I can test on Tiger if you want to send a Portfile.




More information about the macports-dev mailing list