----- Forwarded message from Alberto Manuel Brand?o Sim?es <[EMAIL PROTECTED]>
-----
From: Alberto Manuel Brand?o Sim?es <[EMAIL PROTECTED]>
Date: Tue, 24 May 2005 16:49:05 +0100
To: Michael G Schwern <[EMAIL PROTECTED]>
Subject: ExtUtils::MakeMaker
User-Agent: Mozilla Thunderbird 0.9 (X11/20041103)
Hi, Michael
I bought a PowerBook and now I'm porting my PhD application (a C+Perl
application) to work both in Linux and OSX (Tiger).
I needed to change MACOSX_DEPLOYMENT_TARGET but that seems to be a
common task.
Now, the problem is another:
| PATH="/usr/lib:/sw/lib" /usr/bin/ld -bundle -undefined dynamic_lookup
-L/usr/local/lib NAT.o -o blib/arch/auto/NAT/NAT.bundle -lm -lz
-L/sw/lib -lglib-2.0 -lintl -liconv
| /usr/bin/ld: NAT.o has external relocation entries in non-writable
section (__TEXT,__text) for symbols:
| restFP
| saveFP
Asking on the [EMAIL PROTECTED] mailing list, they suggested to use gcc
instead of ld, so
| PATH="/usr/lib:/sw/lib" /usr/bin/gcc -bundle -undefined dynamic_lookup
-L/usr/local/lib NAT.o -o blib/arch/auto/NAT/NAT.bundle -lm -lz
-L/sw/lib -lglib-2.0 -lintl -liconv
The nice thing is that this works both in OSX and in Linux. Then, my
question is: should this be a change to MakeMaker code (to use gcc
instead of ld) or I should force that somehow in my code?
Kind regards,
Alberto
PS: Any idea if you will come to YAPC::EU? :-D
--
Alberto Sim?es - Departamento de Inform?tica - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
----- End forwarded message -----
--
Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern
Just call me 'Moron Sugar'.
http://www.somethingpositive.net/sp05182002.shtml