[gmx-users] Runtime need of cpp.exe

David van der Spoel spoel at xray.bmc.uu.se
Wed Jul 18 09:10:25 CEST 2007


Utkal Ranjan Pradhan wrote:
> Friends
> 
>  
> 
> As I know cpp.exe is a GNU port for C Preprocessor for Windows and which 
> is required to compile the Gromacs code.
> 
> But I’m confused, Why it is required during runtime of Gromacs 
> applications ?
> 
> And I have the Win32 version of cpp.exe, will it work for x64 (=Win64) ?
> 
> What is the Windows native equivalent of cpp.exe ? Is it cl.exe ?
> 
> How can I remove the runtime dependency of cpp.exe for gromacs 
> applications ?

by writing an implementation of the cpp and donating it to the gromacs 
project. In fact, it wouldn't be so hard, since we are only using a few 
features in practice:
#include
#ifdef #else #endif
#define

Please provide a simple C program that takes a file, searches for these 
commands and does the same what the cpp does.


-- 
David van der Spoel, Ph.D.
Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205. Fax: +4618511755.
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se



More information about the gromacs.org_gmx-users mailing list