On Thu, 22 Jan 2004 plessas@sbox.tugraz.at wrote:
g++ -lm /sw/lib/ruby/1.6/powerpc-darwin6.6/libruby.a -L/sw/lib -ldl -lobjc -bundle -flat_namespace -fno-common -g -O2 -fno-common -pipe -no-cpp-precomp -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /sw/lib/ruby/1.6/powerpc-darwin6.6 -falign-functions=4 -Wall -Wno-unused -O3 -funroll-loops -fno-omit-frame-pointer -g -fPIC -bundle_loader bridge/puredata.c -xnone -o gridflow.pd_darwin ld: bridge/puredata.c bad magic number (not a Mach-O file) make: *** [gridflow.pd_darwin] Error 1
-bundle_loader bridge/puredata.c is wrong.
There is supposed to be the name of an executable, the pd executable,
between the two. The makefile runs which pd
to find it out, but pd is
not in $PATH.
If there is a way to avoid using -bundle_loader at all I'd like to know =)
Mathieu Bouchard http://artengine.ca/matju