From: Daniel S. <dv...@ea...> - 2003-09-10 14:36:52
|
MEMO: C compilers for building clisp-2.31 under OSX 2.6 FROM: Devious Dan DATE: 2003-09-07 Another memo tells how to build clisp using Apple's own C compiler, a modification of the GNU C compiler. If you read its "man" pages, there is mention of another compiler invoked as c++. Using it, I tried building clisp various ways, but never successfully. I could sometimes get through the "make" phase, I could never make it through "make check." No cigar. I was able build clisp using an unmodified GNU C compiler. I had it installed coincidentally, because of GNU Pascal, or gpc. Because of problems building gpc, the developer set up a two-phase build, where an unreconstructed GNU C is built and then used to build Pascal. When you are through, you still have regular GNU C, but it is called gpcgcc to distinguish it from Apple's compiler. I presume you can download alone it if you want it. To compile clisp with gpcgcc I changed the CC environment variable: setenv CC "gpcgcc" I then built clisp again, but without inserting the -traditional-cpp flag in the Makefile. Interestingly, if you put the flag in, you crash out of the "make" phase. I still needed a gigantic stack of 16384K. Either way, with either compiler, you have to make two hacks. In my humble opinion, it would be nice if Apple found some way to toggle that flag the other way around for consistency with GNU. |