Mac OS X Panther to Tiger Build Changes for GCC 3.3 and 3.4
Peter O'Gorman
peter@pogma.com
Thu Jun 2 04:12:00 GMT 2005
Mike Stump wrote:
> On Wednesday, June 1, 2005, at 07:01 PM, Peter O'Gorman wrote:
>
>> I think he has to, as far as I know the changes to use libSystemStubs on
>> tiger were never backported to 3.4 and 3.3.
>
>
> If one uses fink to install the older compiler, it just works. :-(
Fink patched their g77 package for tiger. As long as nobody uses assert()
they'll be fine :/
peter$ cat foo.c
#include <assert.h>
int foo(const char * str)
{
assert(str);
return 1;
}
imac:~ peter$ /opt/gcc3.4/bin/gcc -dynamiclib -o libfoo1.dylib foo.c
ld: Undefined symbols:
_fprintf$LDBLStub
/usr/bin/libtool: internal link edit command failed
Peter
--
Peter O'Gorman - http://www.pogma.com
More information about the Gcc
mailing list