Re: [AD] universal binary of 4.2?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Or in other words can you try adding
-isysroot /Developer/SDKs/MacOSX10.4u.sdk  to CFLAGS (makefile.osx line 144)
and
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk to LFLAGS
(makefile.osx line 145)
and see if that works?

Thanks

Pete


On 8/30/06, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
You should
./fix.sh macosx-universal
make
- that works for me but on PPC you might need to define the location
of your Universal SDK
Have a look at this
http://developer.apple.com/technotes/tn2005/tn2137.html

We might need to add some -isysroot options into the flags

Pete


On 8/30/06, Jon Rafkind <workmin@xxxxxxxxxx> wrote:
> How do I go about making a universal dylib( osx ) of 4.2? I see in
> makefile.osx stuff about ifdef UB; CFLAGS += -arch ppc -arch i386; but
> when I define UB I get the following error
>
> gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD  -Wall -Wno-unused
> -Wno-long-double  -O2 -funroll-loops -ffast-math -fomit-frame-pointer
> -fno-common -pipe -dynamic -arch ppc -arch i386 -DALLEGRO_NO_ASM
> -Ilibpng -I. -I./include -o obj/macosx/alleg/allegro.o -c src/allegro.c
> gcc: installation problem, cannot exec 'i686-apple-darwin8-gcc-4.0.0':
> No such file or directory
> lipo: can't figure out the architecture type of: /var/tmp//ccbpYPmx.out
> make: *** [obj/macosx/alleg/allegro.o] Error 255
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/