2010-03-10 14:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/win/cygwin.mk
* config/win/mingw.mk
* config/wce/mingwarm.mk
% Added -pipe option to win/gcc compilers, this way it's faster
(but consume more memory) since it passes intermediate files
- I could only spot the .s file - without writing them to disk.
Probably we should enable this on other platforms as well,
and if it works out well, also in hbmk2.
This commit is contained in:
@@ -17,6 +17,16 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-03-10 14:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* config/win/cygwin.mk
|
||||
* config/win/mingw.mk
|
||||
* config/wce/mingwarm.mk
|
||||
% Added -pipe option to win/gcc compilers, this way it's faster
|
||||
(but consume more memory) since it passes intermediate files
|
||||
- I could only spot the .s file - without writing them to disk.
|
||||
Probably we should enable this on other platforms as well,
|
||||
and if it works out well, also in hbmk2.
|
||||
|
||||
2010-03-10 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/compiler/hbmain.c
|
||||
* harbour/src/compiler/harbour.y
|
||||
|
||||
@@ -16,7 +16,7 @@ CC := $(HB_CCPATH)$(HB_CCPREFIX)$(HB_CMP)$(HB_CCPOSTFIX)
|
||||
CC_IN := -c
|
||||
CC_OUT := -o
|
||||
|
||||
CFLAGS += -I. -I$(HB_INC_COMPILE)
|
||||
CFLAGS += -I. -I$(HB_INC_COMPILE) -pipe
|
||||
|
||||
ifneq ($(HB_BUILD_WARN),no)
|
||||
CFLAGS += -Wall -W
|
||||
|
||||
@@ -16,7 +16,7 @@ CC := $(HB_CCPATH)$(HB_CCPREFIX)$(HB_CMP)$(HB_CCPOSTFIX)
|
||||
CC_IN := -c
|
||||
CC_OUT := -o
|
||||
|
||||
CFLAGS += -I. -I$(HB_INC_COMPILE)
|
||||
CFLAGS += -I. -I$(HB_INC_COMPILE) -pipe
|
||||
|
||||
ifneq ($(HB_BUILD_WARN),no)
|
||||
CFLAGS += -Wall -W
|
||||
|
||||
@@ -16,7 +16,7 @@ CC := $(HB_CCPATH)$(HB_CCPREFIX)$(HB_CMP)$(HB_CCPOSTFIX)
|
||||
CC_IN := -c
|
||||
CC_OUT := -o
|
||||
|
||||
CFLAGS += -I. -I$(HB_INC_COMPILE)
|
||||
CFLAGS += -I. -I$(HB_INC_COMPILE) -pipe
|
||||
|
||||
# Equivalent to MSVC -GS (default) option, available in GCC 4.1 and upper:
|
||||
# -fstack-protector
|
||||
@@ -32,9 +32,14 @@ ifneq ($(HB_BUILD_WARN),no)
|
||||
endif
|
||||
|
||||
ifneq ($(HB_BUILD_OPTIM),no)
|
||||
# -O3 is not recommended for GCC 4.x by some packagers (see http://www.gentoo.org/doc/en/gcc-optimization.xml)
|
||||
CFLAGS += -O3
|
||||
ifneq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -fomit-frame-pointer
|
||||
# This option is not needed in x86_64 mode.
|
||||
ifneq ($(HB_COMPILER),mingw64)
|
||||
# It makes debugging hard or impossible on x86 systems.
|
||||
ifneq ($(HB_BUILD_DEBUG),yes)
|
||||
CFLAGS += -fomit-frame-pointer
|
||||
endif
|
||||
endif
|
||||
ifeq ($(HB_COMPILER),mingw)
|
||||
CFLAGS += -march=i586 -mtune=pentiumpro
|
||||
|
||||
Reference in New Issue
Block a user