This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
- From: Mike Stump <mrs at apple dot com>
- To: Mathieu Malaterre <mmalater at nycap dot rr dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 10 Jun 2005 12:45:43 -0700
- Subject: Re: ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
I'd put this more simply...
On Monday, June 6, 2005, at 02:06 PM, Mathieu Malaterre wrote:
I have a question about a valid C code. I am trying to compile the
following code in MacOSX (*). I don't understand what the problem is?
You must use -fno-common when you are building dynamic libraries on
darwin.
Could someone please explain me what is going on?
You didn't use -fno-common.