On 11-Mar-08, at 5:33 PM, Ken Dickey wrote:
What worked: [QNX] cd /usr/local/Src/gambc-v4_2_3 cp `which gsc` gsc-comp ## gsc 4.1.0 ;; added "#define ___VERSION 402003" ;; to include/gambit.h just before the check make bootstrap ;; "make check" fails at this point ;; removed the #define ___VERSION from gambit.h make ; make check ;; AOK
Note that my initial bootstrap [for the previous gsc version]: ./configure on QNX compile on Linux; remove .o files tar to QNX cp `which echo` gsc-cmp make ; make bootstrap ; make ## use the Linux .c files ## but compile on QNX.
I still have no idea what the bootstrap invariants should be.
Yikes! That's like doing brain surgery with a rusty screwdriver... Sometimes it works, but you might not get a fully working brain after that!
If you did not modify any of the .scm files, there is no need to build a gsc-comp to generate the .c from the .scm. The .c files distributed in the tar file should be fine.
So the correct way to go about things is to do a ./configure on QNX and then a "make" and then a "make bootstrap" (in case you decide to modify one of the .scm files). Once you have a working system, you should use "make update" to move from one version to the next (that will require that you install Mercurial however).
Marc