Dear Torsten,

2012/1/3 Torsten Anders <torsten.and...@plymouth.ac.uk>

> Dear all,
>
> I just wanted to confirm that with Eric's patch the following
> parts/extensions of Mozart are finally working again on recent MacOS X (I
> tested it with 10.6, Eric with 10.7):
>
>  - Deny Duchier's select package can successfully be compiled again using
> ozmake
>  - Gump parser/scanner definitions can be compiled again
>
>
This is great.


> Thank you very much indeed, Eric, for suggesting the required C++ flag
> -arch i386 in oztool.sh. I am very happy about this fix, as much of my work
> depends on it :)
>
> So, I think we should definitely apply Eric's patch. However, it seems
> that the file platform/darwin-i386/oztool.sh is somehow created dynamically
> during the build process, and that instead of editing oztool.sh directly we
> should instead edit some configure.in file or a similar file. I just had
> a look at these files, but I never wrote any makefiles so far and therefore
> don't quite understand them.
>
>
My experience with autoconf is a bit limited but I will try to see if I can
get something working.


> Anyone here who can help to apply Eric's patch so that oztool.sh gets
> created correctly? (Attached again for your convenience)
>
>
If someone else has some experience and is willing to contribute with this
fix is very welcome.


> BTW: Should we add a similar flag -arch i386 to other architectures? Eric
> only did this for MacOS (darwin-i386).
>

AFAIK that flag is particular to the gcc compiler shipped with Mac OS.
Standard gcc implementations (like the one on linux) use other ways to
specify the target platform. Supporting all of them (windows, linux and
mac) will imply considerable changes in the build system. I would rather
prefer to wait for the new VM implementation to provide this support.

Regards,
Gustavo
_________________________________________________________________________________
mozart-hackers mailing list                           
mozart-hackers@mozart-oz.org      
http://www.mozart-oz.org/mailman/listinfo/mozart-hackers

Reply via email to