From c99ab6937752401931097de8893296d2854440f8 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Mon, 21 Feb 2011 16:06:28 +0000 Subject: [PATCH] fix compiler name git-svn-id: svn://kolibrios.org@1883 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/menuetlibc/linuxtools/mgcc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/develop/libraries/menuetlibc/linuxtools/mgcc.c b/programs/develop/libraries/menuetlibc/linuxtools/mgcc.c index a907ebe2a9..11ae4fd62a 100755 --- a/programs/develop/libraries/menuetlibc/linuxtools/mgcc.c +++ b/programs/develop/libraries/menuetlibc/linuxtools/mgcc.c @@ -10,7 +10,7 @@ char buf[32768]; 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 @@ int main(int argc,char * argv[]) 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='' -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\"' "