diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-12 04:11:58 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-12 04:11:58 +0000 |
commit | a88c3d7c5dc6133bb2dd9b0b213b17f73bdf982c (patch) | |
tree | abf1587485674d7ed980f31936be6dd66a26ae01 /win32 | |
parent | c5be433b5c5658093bc9cae4434721a0b63e7a85 (diff) | |
download | perl-a88c3d7c5dc6133bb2dd9b0b213b17f73bdf982c.tar.gz |
tweaks for win32/borland
p4raw-id: //depot/perl@3668
Diffstat (limited to 'win32')
-rw-r--r-- | win32/makedef.pl | 1 | ||||
-rw-r--r-- | win32/makefile.mk | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/win32/makedef.pl b/win32/makedef.pl index 96b540b6d4..698f00854e 100644 --- a/win32/makedef.pl +++ b/win32/makedef.pl @@ -333,6 +333,7 @@ sub emit_symbol { sub output_symbol { my $symbol = shift; + $symbol = "_$symbol" if $CCTYPE eq 'BORLAND'; print "\t$symbol\n"; # XXX: binary compatibility between compilers is an exercise # in frustration :-( diff --git a/win32/makefile.mk b/win32/makefile.mk index f69f04dcf4..2289b915a4 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -138,7 +138,7 @@ CCTYPE *= BORLAND # so you may have to set CCHOME explicitly (spaces in the path name should # not be quoted) # -CCHOME *= C:\bc5 +CCHOME *= d:\bc5 #CCHOME *= $(MSVCDIR) #CCHOME *= D:\packages\mingw32 CCINCDIR *= $(CCHOME)\include @@ -264,7 +264,7 @@ OPTIMIZE = -O2 $(RUNTIME) LINK_DBG = .ENDIF -CFLAGS = -w -g0 -tWM -tWD $(INCLUDES) $(LOCDEFS) \ +CFLAGS = -w -g0 -tWM -tWD $(INCLUDES) $(DEFINES) $(LOCDEFS) \ $(PCHFLAGS) $(OPTIMIZE) LINK_FLAGS = $(LINK_DBG) -L"$(CCLIBDIR)" OBJOUT_FLAG = -o |