[gmx-developers] Using C++ with Gromacs
Axel Kohlmeyer
akohlmey at cmm.chem.upenn.edu
Thu May 8 01:23:53 CEST 2008
On Wed, 7 May 2008, Peter Eastman wrote:
PE> proper incantation to tell automake that one particular file is written in
PE> C++. After all, it's supposed to be a standard feature of automake, and
PE> Gromacs already includes code written in C, Fortran, and assembly. (But
PE> then, when has "should" ever made a difference where computers were
PE> concerned?) :)
i just dug out an old c++ code that i wrote using automake.
this may be too obvious, but have you tried renaming your
file from .cpp to .cc?
most non-linux, non-windows c++ compilers that i know, only
support .cc and .C as extensions for C++ sources, and when
grepping through the automake docs i only find examples for .cc.
cheers,
axel.
PE>
PE> Peter
PE> _______________________________________________
PE> gmx-developers mailing list
PE> gmx-developers at gromacs.org
PE> http://www.gromacs.org/mailman/listinfo/gmx-developers
PE> Please don't post (un)subscribe requests to the list. Use thewww interface
PE> or send it to gmx-developers-request at gromacs.org.
PE>
--
=======================================================================
Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu http://www.cmm.upenn.edu
Center for Molecular Modeling -- University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.
More information about the gromacs.org_gmx-developers
mailing list