-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mosml2.10.1 - Caml Light won't run on this architecture. #61
Comments
This is a false warning - I believe some path in src/Makefile.inc needs to be set to avoid this.
This is what I have, but I haven’t checked recently whether it works (I’m on MacOS Catalina), will to try get time over the weekend:
# For MacOS X, use:
# -----------------
CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
STRIP=/usr/bin/strip -S
# CC=cc
LD=gcc
DYNLD=$(LD) -I/sw/include -bundle -flat_namespace -undefined suppress
Peter
On 11 Jun 2021, at 00.29, Flemming Andersen ***@***.******@***.***>> wrote:
When trying to install mosml (2.00, 2.01, or 2.10.1) macOS Big Sur 11.2.2 from sources, I get:
make world
cd config; /Applications/Xcode.app/Contents/Developer/usr/bin/make all
sh autoconf gcc
Checking the sizes of integers and pointers...
This architecture seems to be neither 32 bits nor 64 bits.
Caml Light won't run on this architecture.
make[1]: *** [runtime] Error 2
make: *** [world] Error 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#61>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFSQECTOOJFRPGJJXND7FDTSE4F3ANCNFSM46PPZTSQ>.
|
I did some digging. It is the Mac OS Big Sur cc compiler that has become
stricter such that several of the c-programs in:
mosml/src/config/auto-aux
no longer compile. For instance:
- sizes.c now needs #include <stdio.h>
But there are many other updates needed to all these c-programs
Thx,
Flemming
On Thu, Jun 10, 2021 at 10:52 PM Peter Sestoft ***@***.***>
wrote:
… This is a false warning - I believe some path in src/Makefile.inc needs to
be set to avoid this.
This is what I have, but I haven’t checked recently whether it works (I’m
on MacOS Catalina), will to try get time over the weekend:
# For MacOS X, use:
# -----------------
CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
STRIP=/usr/bin/strip -S
# CC=cc
LD=gcc
DYNLD=$(LD) -I/sw/include -bundle -flat_namespace -undefined suppress
Peter
On 11 Jun 2021, at 00.29, Flemming Andersen ***@***.******@***.***>>
wrote:
When trying to install mosml (2.00, 2.01, or 2.10.1) macOS Big Sur 11.2.2
from sources, I get:
make world
cd config; /Applications/Xcode.app/Contents/Developer/usr/bin/make all
sh autoconf gcc
Checking the sizes of integers and pointers...
This architecture seems to be neither 32 bits nor 64 bits.
Caml Light won't run on this architecture.
make[1]: *** [runtime] Error 2
make: *** [world] Error 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
#61>, or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AAFSQECTOOJFRPGJJXND7FDTSE4F3ANCNFSM46PPZTSQ>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#61 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKJ6644ITVF7KEWTQXPX4ZLTSGQBDANCNFSM46PPZTSQ>
.
|
I have just pushed a small change that makes it possible to build (for me at least) mosml on MacOS Catalina and Ubuntu 20.04 (LTS). I've had this in a private branch that I forgot to push. |
I just downloaded the pushed version and successfully built and executed the tests under MacOS Big Sur 11.2.2 The only warning was the below. So I am up running with the latest! Thanks, 1 warning generated. |
When trying to install mosml (2.00, 2.01, or 2.10.1) macOS Big Sur 11.2.2 from sources, I get:
make world
cd config; /Applications/Xcode.app/Contents/Developer/usr/bin/make all
sh autoconf gcc
Checking the sizes of integers and pointers...
This architecture seems to be neither 32 bits nor 64 bits.
Caml Light won't run on this architecture.
make[1]: *** [runtime] Error 2
make: *** [world] Error 2
The text was updated successfully, but these errors were encountered: