fix and enable i386 support
This gives ~5K size reduction with bc3.1. Today no one uses pre-i386 CPUs so there is no good reason against having an extra optimization.
This commit is contained in:
parent
8187fd8153
commit
44cf0a17a1
4
config.b
4
config.b
@ -105,9 +105,9 @@ set XUPX=upx --8086 --best
|
|||||||
:* select your default target: required CPU and what FAT system to support
|
:* select your default target: required CPU and what FAT system to support
|
||||||
:**********************************************************************
|
:**********************************************************************
|
||||||
|
|
||||||
set XCPU=86
|
:- set XCPU=86
|
||||||
:- set XCPU=186
|
:- set XCPU=186
|
||||||
:- set XCPU=386
|
set XCPU=386
|
||||||
|
|
||||||
:- set XFAT=16
|
:- set XFAT=16
|
||||||
set XFAT=32
|
set XFAT=32
|
||||||
|
10
config.m
10
config.m
@ -15,8 +15,8 @@ XNASM=nasm
|
|||||||
#**********************************************************************
|
#**********************************************************************
|
||||||
#- where is the BASE dir of your compiler(s) ??
|
#- where is the BASE dir of your compiler(s) ??
|
||||||
#**********************************************************************
|
#**********************************************************************
|
||||||
|
|
||||||
# if WATCOM maybe you need to set your WATCOM environment variables
|
# if WATCOM maybe you need to set your WATCOM environment variables
|
||||||
# and path
|
# and path
|
||||||
ifndef WATCOM
|
ifndef WATCOM
|
||||||
WATCOM=$(HOME)/watcom
|
WATCOM=$(HOME)/watcom
|
||||||
@ -28,7 +28,7 @@ endif
|
|||||||
#**********************************************************************
|
#**********************************************************************
|
||||||
XUPX=upx --8086 --best
|
XUPX=upx --8086 --best
|
||||||
|
|
||||||
# or use
|
# or use
|
||||||
#unexport XUPX
|
#unexport XUPX
|
||||||
# without the # if you don't want to use it
|
# without the # if you don't want to use it
|
||||||
|
|
||||||
@ -52,9 +52,9 @@ XUPX=upx --8086 --best
|
|||||||
# select your default target: required CPU and what FAT system to support
|
# select your default target: required CPU and what FAT system to support
|
||||||
#*********************************************************************
|
#*********************************************************************
|
||||||
|
|
||||||
XCPU=86
|
# XCPU=86
|
||||||
# XCPU=186
|
# XCPU=186
|
||||||
# XCPU=386
|
XCPU=386
|
||||||
|
|
||||||
# XFAT=16
|
# XFAT=16
|
||||||
XFAT=32
|
XFAT=32
|
||||||
|
@ -9,9 +9,11 @@ TARGETOPT=-1-
|
|||||||
|
|
||||||
!if $(XCPU) == 186
|
!if $(XCPU) == 186
|
||||||
TARGETOPT=-1
|
TARGETOPT=-1
|
||||||
|
ALLCFLAGS=$(ALLCFLAGS) -DI186
|
||||||
!endif
|
!endif
|
||||||
!if $(XCPU) == 386
|
!if $(XCPU) == 386
|
||||||
TARGETOPT=-3
|
TARGETOPT=-3
|
||||||
|
ALLCFLAGS=$(ALLCFLAGS) -DI386
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if $(XFAT) == 32
|
!if $(XFAT) == 32
|
||||||
|
Loading…
Reference in New Issue
Block a user