cccp

J F kclinik@dangerous.net
Tue Apr 17 06:18:00 GMT 2001


I've done a modification in cccp (the preprocessor not the soviets ;-) ), I added two 'macros' that i called 'system' and 'shell'.
System is equivalent to the c command and shell call popen(command,"r"). for example you can do :

#if ! system( [ -e /usr/bin/perl ] )
#define HAVE_PERL
#endif
#define UNAME shell(uname)

do you want to add it in the official project ?

/***************************************
/*        From K Clinik               */
/*      kclinik@dangerous.net         */
/* This message is under FDL license  */
/*    www.gnu.org             ;-)     */
/**************************************/












* Get your free email at http://www.inbox.net



More information about the Gcc mailing list