Re: [C--] building on mac os x: a bit further

Norman Ramsey <[email protected]> Thu, 26 Mar 2009 01:16:44 -0400
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
 > I can see a "if (solaris)" in this file, is this a very special case
 > or do I get a boolean
 > "darwin" in the caml "context" too? (the if solaris is in a part
 > looking like C - I do not know noweb nor see a x86asm.c generated -
 > maybe it's just a doco part?)

No, there's some C thing, but I don't remember where it's generated.

The caml will have to be extended with

type os = Linux | Darwin | Solaris

and the 'make' function will have to take a parameter of type os.
Figuring out how to feed it will be the fun part :-)


Norman
_______________________________________________
Cminusminus mailing list
[email protected]
https://www.eecs.harvard.edu/mailman/listinfo/cminusminus