[gambit-list] Building loadable library
Matthew Koichi Grimes
mkg at cs.nyu.edu
Thu May 12 14:01:29 EDT 2011
You might use GCC's file-suffix conventions:
C++: .C .cc .cp .cpp .CPP .cxx .c++
Objective-C++: .M .mm
Suffixes for other languages (e.g. Fortran) can be found by searching for
"file name suffix" within gcc's man page.
On Thu, May 12, 2011 at 9:36 AM, Alex Queiroz <asandroq at gmail.com> wrote:
> On Thu, May 12, 2011 at 9:56 AM, Marc Feeley <feeley at iro.umontreal.ca>
> >> I realized it was treating the .cpp file as a scheme file and failing.
> >> Is this a bug or am I using it incorrectly?
> > The command-line processing of gsc treats files with a ".c" extension as
> C source files and other extensions as Scheme files. This is probably too
> conservative. I could add ".cpp" and ".cc" and ".m" as alternatives for C
> source files. Any others I should add?
> There is also .mm for Objective-C++ and .C for C++, but I guess
> nobody uses the latter anymore (I used to).
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gambit-list