version 1.176, 2015/01/03 16:45:04
|
version 1.178, 2015/01/04 09:35:48
|
Line 1
|
Line 1
|
/* $Id$ |
/* $Id$ |
$State$ |
$State$ |
$Log$ |
$Log$ |
|
Revision 1.178 2015/01/04 09:35:48 brouard |
|
*** empty log message *** |
|
|
|
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 |
Revision 1.176 2015/01/03 16:45:04 brouard |
*** empty log message *** |
*** empty log message *** |
|
|
Line 5504 BOOL IsWow64()
|
Line 5510 BOOL IsWow64()
|
return bIsWow64 != FALSE; |
return bIsWow64 != FALSE; |
} |
} |
#endif |
#endif |
|
|
void syscompilerinfo() |
void syscompilerinfo() |
{ |
{ |
/* #include "syscompilerinfo.h"*/ |
/* #include "syscompilerinfo.h"*/ |
#if defined(__GNUC__) |
|
#include <gnu/libc-version.h> /* Only on gnu */ |
|
struct utsname sysInfo; |
|
#endif |
|
|
|
#include <stdint.h> |
#if defined __INTEL_COMPILER |
|
#if defined(__GNUC__) |
|
struct utsname sysInfo; /* For Intel on Linux and OS/X */ |
|
#endif |
|
#elif defined(__GNUC__) |
|
#include <gnu/libc-version.h> /* Only on gnu */ |
|
struct utsname sysInfo; |
int cross = CROSS; |
int cross = CROSS; |
if (cross){ |
if (cross){ |
printf("Cross-"); |
printf("Cross-"); |
fprintf(ficlog,"Cross-"); |
fprintf(ficlog, "Cross-"); |
} |
} |
|
#endif |
|
|
|
#include <stdint.h> |
|
|
printf("Compiled with:");fprintf(ficlog,"Compiled with:"); |
printf("Compiled with:");fprintf(ficlog,"Compiled with:"); |
#if defined(__clang__) |
#if defined(__clang__) |
printf(" Clang/LLVM");fprintf(ficlog," Clang/LLVM"); /* Clang/LLVM. ---------------------------------------------- */ |
printf(" Clang/LLVM");fprintf(ficlog," Clang/LLVM"); /* Clang/LLVM. ---------------------------------------------- */ |
Line 5596 struct utsname sysInfo;
|
Line 5609 struct utsname sysInfo;
|
} |
} |
else |
else |
perror("uname() error"); |
perror("uname() error"); |
|
#ifndef __INTEL_COMPILER |
printf("GNU libc version: %s\n", gnu_get_libc_version()); |
printf("GNU libc version: %s\n", gnu_get_libc_version()); |
fprintf(ficlog,"GNU libc version: %s\n", gnu_get_libc_version()); |
fprintf(ficlog,"GNU libc version: %s\n", gnu_get_libc_version()); |
|
#endif |
#endif |
#endif |
|
|
// void main() |
// void main() |
Line 5610 struct utsname sysInfo;
|
Line 5624 struct utsname sysInfo;
|
} |
} |
else{ |
else{ |
printf("The process is not running under WOW64 (i.e probably on a 64bit Windows).\n"); |
printf("The process is not running under WOW64 (i.e probably on a 64bit Windows).\n"); |
frintf(ficlog,"The programm is not running under WOW64 (i.e probably on a 64bit Windows).\n"); |
fprintf(ficlog,"The programm is not running under WOW64 (i.e probably on a 64bit Windows).\n"); |
} |
} |
// printf("\nPress Enter to continue..."); |
// printf("\nPress Enter to continue..."); |
// getchar(); |
// getchar(); |