Oh, right. I just did osx, not osx-ub, so I had to add those -arch
i386 tags myself.
It sounds like if I (or we) wanted to migrate ChucK to 64-bit systems,
then it would take some use of the -Wconversion tag and then fixing
every error that the tag finds (in terms of float truncation). But
since I don't really know the technical details, and can't even really
call myself a programmers, I'm just going to go with this
hacked-together 32-bit fix. Thanks for the pointers (ha!) though.
Andrew
On Sun, Sep 13, 2009 at 5:56 PM, Hans Aberg
Those are already there: $ grep -r "arch" * ... src/makefile.osx-ub:FLAGS=-D__MACOSX_CORE__ -D__MACOSX_UB__ -c -arch ppc -arch i386 \ src/makefile.osx-ub: -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
However, this page says one has to add the 64-bit flags if one wants to compile for that: http://developer.apple.com/mac/library/documentation/Darwin/Conceptual/64bit...
If you want to migrate to 64-bit, here is more info: http://developer.apple.com/mac/library/documentation/Darwin/Conceptual/64bit...
Hans
On 13 Sep 2009, at 23:27, Andrew C. Smith wrote:
Well, long battle, but I feel like it's been worth it. I got chuck to compile using this method on Snow Leopard:
1. Add -arch i386 to the line "FLAGS=-D__MACOSX_CORE__ -c" (so that it shows up in every call of the file, whether it's gcc or g++)
2. Add -arch i386 to the initial call of chuck:
chuck: $(OBJS) $(CXX_LINK) -arch i386 -o chuck $(OBJS) $(LIBS)
I made sure that the new one was working by doing the chmod 755 and chucking a file with a ugen I added (from the wiki tutorial). Hopefully, if I make one UGen this will all be worthwhile.
Andrew
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users