Open dinosaure opened 1 year ago
I can confirm that currently, bob does not work properly on a FreeBSD (arm64
). I got this output when I compile it with the last commit of Cosmopolitan cosmopolitan-2.2-189-gcba15bc77
:
# ./bob.com
./bob.com: 7508: Syntax error: "(" unexpected
And with bob.com
available from builds.osau.re, I got:
# ./bob.com
unsupported architecture
I unfortunately not have a Mac M1 with me but it seems that when the program run on
blink
on a Mac M1, theIsXnu
does not tell us that we are on a MacOS system. Currently, I try to recognize the system to set a file-descriptor in a non-blocking more. I use these functions in C (see esperanto:And this function in OCaml:
On a Mac M1 (
arm64
), the second logSet file-descriptor into a non-blocking mode.
does not appear. That mostly means that on such system, my current program recognized the host as a Linux system. I can make a little OCaml program to reproduce the error but a simple:Should be enough to run on Mac M1 (and see what the
printf
tell to us).