10,7 → 10,7 |
char * __dev_env; |
#endif |
|
#define __GNUC__ 3 |
|
// version-specific switches |
#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4 |
#define GCCOPT "-fno-stack-protector -mincoming-stack-boundary=2 " |
43,13 → 43,13 |
return 1; |
} |
#if (HAS_DEVENV==1) |
sprintf(buf,"win32-gcc -c %s -o %s -Os -nostdinc -fno-builtin -I/dev/env/MENUETDEV/include -fno-pic " |
sprintf(buf,"gcc -c %s -o %s -Os -nostdinc -fno-builtin -I/dev/env/MENUETDEV/include -fno-pic " |
GCCOPT |
"-mno-stack-arg-probe -mpreferred-stack-boundary=2 " |
"-fno-common -DMENUETDEV='\"/dev/env/MENUETDEV\"' " |
"-D__DEV_CONFIG_H='</dev/env/MENUETDEV/config.h>' -D__MENUETOS__ ",argv[1],argv[2]); |
#else |
sprintf(buf,"win32-gcc -c %s -o %s -Os -nostdinc -fno-builtin -I%s/include -fno-pic " |
sprintf(buf,"gcc -c %s -o %s -Os -nostdinc -fno-builtin -I%s/include -fno-pic " |
GCCOPT |
"-mno-stack-arg-probe -mpreferred-stack-boundary=2 " |
"-fno-common -DMENUETDEV='\"%s\"' " |