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
Rob Arthan wrote:
David,
I have update to revision 864 and don't seem to be able to force a 32-bit build using the following command any more:
./configure CFLAGS='-arch i386 -O3' CXXFLAGS='-arch i386 -O3' CCASFLAGS='-arch i386'
I have attached the config.log and make output.
Regards,
Rob.
On Wednesday 09 Sep 2009 2:58 pm, David Matthews wrote:
Rob, Can I take it that the current SVN builds on Mac OS 10.6 without any extra options, although your Makefiles will have to add the -segprot option? I may need to ask you test it again if the official config.guess is updated to include support for 10.6.
Eventually I'd like to remove the need for -segprot but that will require making the code segment at least completely read-only. That in turn requires changes to profiling, data sharing and exporting all of which write to code objects.
Regards, David
rda@lemma-one.com wrote:
Rob Arthan wrote:
I wrote: > I am completely baffled. I thought I hada solved all my problems on > MacOS X > 10.6 and was just tidying up,
polyml mailing list polyml@inf.ed.ac.uk http://lists.inf.ed.ac.uk/mailman/listinfo/polyml