[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
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.

-- Matt


On Thu, May 12, 2011 at 9:36 AM, Alex Queiroz <asandroq at gmail.com> wrote:

> Hallo,
>
> On Thu, May 12, 2011 at 9:56 AM, Marc Feeley <feeley at iro.umontreal.ca>
> wrote:
> >
> >>
> >> 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).
>
> --
> -alex
> http://www.artisancoder.com/
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110512/78aafde4/attachment.htm>


More information about the Gambit-list mailing list