Peter Vincent Homeier wrote:
With a completely fresh copy of the developer version, obtained by
svn, I try to build Poly/ML in a 32-bit version under the latest
version of Snow Leopard (OS X 10.6.1) by

cd polyml/polyml
./configure CFLAGS='-arch i386 -O3' CXXFLAGS='-arch i386 -O3'
CCASFLAGS='-arch i386'
make


Hasn't this been discussed already?  See below from
http://lists.inf.ed.ac.uk/mailman/private/polyml/2009-September/000585.html

David

David,

Yes, it works with --build=i386-apple-darwin.

Regards,

Rob.

On Wednesday 09 Sep 2009 5:55 pm, you wrote:
Rob,
Try with
./configure --build=i386-apple-darwin CFLAGS='-arch i386 -O3' \
CXXFLAGS='-arch i386 -O3' CCASFLAGS='-arch i386'

With the change to config.guess the configure script is now picking up
the default architecture as x86_64 rather than i386 which was what it
was reporting before.  Previously you had to override it in 64-bit mode;
now you have to override it in 32-bit mode.

It would be good to have just a single option to select whether to build
32-bit or 64-bit on machines that support that.  I can't see a good way
to do it at the moment.

Regards,
David

_______________________________________________
polyml mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to