Leon Brocard (via RT) wrote:

> # New Ticket Created by  Leon Brocard 
> # Please include the string:  [perl #17159]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=17159 >
> 
> 
> There is a problem building imcc under Mac OS X at the moment,
> but I'm afraid I don't know enough to fix it, so here it is:
> 
> [dhcp-client-56:parrot/languages/imcc] acme% make
> cc -pipe -fno-common 


I don't know, where all these flags come from, my imcc.in doesn't 
produce them, but anyway:

Either remove -fno-common or do something like this:

in imcc.y:

#define MAIN
include "imc.h"

in imc.h:

#ifdef MAIN
#define EXTERN
#else
#define EXTERN extern
#endif

and for each mentioned symbol

EXTERN int IMCC_DEBUG;
EXTERN int blub;


> Cheers, Leon

HTH
leo

Reply via email to