1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Updated to gcc-3.4 20040314 prerelease.

committer: mfx <mfx> 1080195627 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2004-03-25 06:20:27 +00:00
parent a5d8e575bd
commit 60b7a3c33b

View File

@ -82,7 +82,7 @@ O2BIN = perl -w $(srcdir)/scripts/o2bin.pl
STRIPELF = ./util/sstrip/sstrip
# Compiler for the Linux/386 stubs.
# gcc 3.4 (20040118 experimental) seems to produce the smallest code
# gcc 3.4 (20040314 prerelease) seems to produce the smallest code
ifeq (1,2)
CC_LINUX_I386 = gcc-2.72 -m386 -O2
## CC_LINUX_I386 = gcc-1.41 -O -Mcxx
@ -96,8 +96,8 @@ ifeq (1,2)
CC_LINUX_I386 += -malign-functions=0 -malign-jumps=0 -malign-loops=0
CC_LINUX_I386 += -Werror
else
# gcc 3.4 20040118 (fold_*.bin: 1525 / 1043 / 1300)
# info: -mcpu=k6 procduces the smallest code
# gcc 3.4 20040314 (fold_*.bin: 1531 / 1043 / 1306)
# info: -mtune=k6 procduces the smallest code
CC_LINUX_I386 = gcc-3.4 -march=i386 -mtune=k6 -Os -fno-omit-frame-pointer -fno-exceptions
CC_LINUX_I386 += -fno-align-functions -fno-align-jumps -fno-align-labels -fno-align-loops
CC_LINUX_I386 += -fweb