--- imach/src/imach.c 2015/01/03 16:45:04 1.176 +++ imach/src/imach.c 2015/01/03 18:40:56 1.177 @@ -1,6 +1,9 @@ -/* $Id: imach.c,v 1.176 2015/01/03 16:45:04 brouard Exp $ +/* $Id: imach.c,v 1.177 2015/01/03 18:40:56 brouard Exp $ $State: Exp $ $Log: imach.c,v $ + Revision 1.177 2015/01/03 18:40:56 brouard + Summary: Still testing ilc32 on OSX + Revision 1.176 2015/01/03 16:45:04 brouard *** empty log message *** @@ -626,11 +629,11 @@ typedef struct { #define ODIRSEPARATOR '\\' #endif -/* $Id: imach.c,v 1.176 2015/01/03 16:45:04 brouard Exp $ */ +/* $Id: imach.c,v 1.177 2015/01/03 18:40:56 brouard Exp $ */ /* $State: Exp $ */ char version[]="Imach version 0.98p, December 2014,INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121), Intel Software 2015"; -char fullversion[]="$Revision: 1.176 $ $Date: 2015/01/03 16:45:04 $"; +char fullversion[]="$Revision: 1.177 $ $Date: 2015/01/03 18:40:56 $"; char strstart[80]; char optionfilext[10], optionfilefiname[FILENAMELENGTH]; int erreur=0, nberr=0, nbwarn=0; /* Error number, number of errors number of warnings */ @@ -5504,12 +5507,16 @@ BOOL IsWow64() return bIsWow64 != FALSE; } #endif + void syscompilerinfo() { /* #include "syscompilerinfo.h"*/ -#if defined(__GNUC__) + +#if defined __INTEL_COMPILER + struct utsname sysInfo; +#elif defined(__GNUC__) #include /* Only on gnu */ -struct utsname sysInfo; + struct utsname sysInfo; #endif #include @@ -5596,9 +5603,10 @@ struct utsname sysInfo; } else perror("uname() error"); +#ifndef __INTEL_COMPILER printf("GNU libc version: %s\n", gnu_get_libc_version()); fprintf(ficlog,"GNU libc version: %s\n", gnu_get_libc_version()); - +#endif #endif // void main()