[PD] GEM in 10.7

IOhannes zmölnig zmoelnig at iem.at
Fri Dec 16 11:17:04 CET 2011


On 12/16/2011 10:59 AM, Jaime Oliver wrote:
> Now with Hans' proposed method:
> 
> ./autogen.sh
> ./configure CFLAGS="-arch i386" LDFLAGS="-arch i386"
> --with-pd=/Applications/Pd-0.43-0.app/Contents/Resources/
> make
> 
> I get a different set of errors (attached) and it also fails.

well, "i told you" that hans' suggestion won't work, as CFLAGS will
likely be ignored.
so what you are doing now, is to _compile_ Gem as x86_64, and then try
to _link_ together those objects as i386 (since LDFLAGS will be
respected), which obviously will not work.

> 
> Curiously, it builds fine without any flags.

yes, because all non-working code gets disabled.

i cannot really imagine why an i386 build fails, unless apple really
updated the i386 headers for 10.7 to drop the deprecated functions.

and you did do a "make clean" before fuddling around with
"--enable-fat-binary"?

fgamsdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111216/f13deb7e/attachment-0001.pgp>


More information about the Pd-list mailing list