2011/5/7 Andrés Felipe Barco Santa <[email protected]>:
> Chris, can you take a look at that file?

Thanks for that. It looks like none of the configure scripts for
Mozart will cause -m32 to be added when compiling on a 64 bit darwin
machine. The changes need to be made in:

  - platform/emulator/configure.in
  - platform/dss/configure.ac

In those files, search for '-m32'.

Notice that that flag is added for the 'linux' case statements. You
need to find out what the appropriate Darwin case is and add -m32 for
those, then regenerate the 'configure' files from those directories.
If you just want to get a build going, add '-m32' in whatever existing
path is being taken for your darwin build in
'platform/emulator/configure' and 'platform/dss/configure' then re-run
'configure' and build.

Unfortunately I don't have access to a 64 bit Mac to try it out
myself. Another approach you could try is adding '-m32' to LDFLAGS,
COPT and CDYNOPT in 'platform/emulator/Makefile.vars as well as
CXXFLAGS in platform/dss/Makefile.vars.

If someone can give me shell access to a 64 bit Mac for a couple of
hours I could get a fix done.

Chris.
-- 
http://www.bluishcoder.co.nz
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to