[gambit-list] How do you run gsc/gcc in beta 20?
Bill Richter
richter at math.northwestern.edu
Tue Oct 10 21:42:58 EDT 2006
Thanks, Guillaume, and it now works fine. Ought I to be using
-dynamic, though? I just want my program to run fast, and this
pretty fast:
gsc -link Ultra; gcc -O2 -L. -I. Ultra.c Ultra_.c -lgambc; ./a.out > Ultra.out &
But if -dynamic is faster, I'd sure like to switch!
\begin{politics}
But I think it's a bad assumption for you guys to make that Gambit
users are C wizards. I think you ought to try to also market your
excellent product to dopes like me. Back to you:
- The compiler, gsc, now produces dynamically loadable object files
by default. The -dynamic flag is thus optional. To generate a
link file (which used to be the default) you must use the -link
option.
I don't know what any of these words mean. I did look in the Gambit
*info*, and saw:
gsc [-:RUNTIMEOPTION,...] [-i] [-f] [-v]
[-prelude EXPRESSIONS] [-postlude EXPRESSIONS]
[-dynamic] [-cc-options OPTIONS] [-ld-options OPTIONS]
[-warnings] [-verbose] [-report] [-expansion]
[-gvm] [-debug] [-track-scheme]
[-o OUTPUT] [-c] [-link] [-flat] [-l BASE]
[[-] [-e EXPRESSIONS] [FILE]]...
It didn't occur to me that `link' was the opposite of `dynamic'. I
looked for `static'. Perhaps I should've said I configure-ed by:
./configure --enable-single-host --prefix=/rhome/richter/Gambit --enable-shared --enable-gcc-opts
\end{politics}
More information about the Gambit-list
mailing list