swfmill  

Re: [swfmill] Build svn HEAD for OSX

Ralf Fuest
Thu, 30 Aug 2007 02:42:01 -0700

Hello Eric,
the static linking of crt0.o problem is mac specific and I don't own a
(new) mac, so I can't test if this works:
There is a "manual" call to g++ in release-mac.sh wich is a workaround
to the crt0.o problem. But you'll need to adjust this line to the
current svn version and your build environment. I think the g++ call is
the same as failing call during make, so you might be able to copy this,
remove the -lcrt0.o and execute it again, instead of changing the one in
release-mac.sh.

Ralf

> Thanks ! Nice help.
> I followed that thread and took another way.
> 
> I have added pkg.m4 file in the swfmill/autoconfig/m4 folder.
> Then I ran autogen.sh, but I modified it before :
> I changed libtoolize by glibtoolize (seems to be os x equivalent).
> 
> The make process unfortunatly failed at :
> /usr/bin/ld: can't locate file for: -lcrt0.o
> collect2: ld returned 1 exit status
> make[3]: *** [swfmill] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
> 
> Any idea on that ?
> I was so near…



_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org