develooper Front page | perl.perl5.porters | Postings from November 2000

some additions for makefiles for win32 (for perl@7674)

Thread Next
From:
Konovalov, Vadim
Date:
November 13, 2000 22:31
Subject:
some additions for makefiles for win32 (for perl@7674)
Message ID:
402099F49BEED211999700805FC7359F8254FC@ru0028exch01.spb.lucent.com
Borland's compiler linker changed its name since version 5.4 (I did not have
5.3): it became "ilink32" instead of "tlink32".
Because of that it will be more convenient to make that option more
configurable.
So I'm proposing a patch that introduces this. Also it makes similar changes
with a couple more options that makes files config.(vc|bc|gc) more similar.

Tested with both BC++ and MSVC++ and should definitely work with GCC.

All changes are made in win32 subdir.

--- config.bc.orig	Sun Nov 12 21:49:32 2000
+++ config.bc	Mon Nov 13 19:17:30 2000
@@ -40,7 +40,7 @@
 c=''
 castflags='0'
 cat='type'
-cc='bcc32'
+cc='~CC~'
 cccdlflags=' '
 ccdlflags='-tWD'
 ccflags='-DWIN32'
@@ -532,7 +532,7 @@
 ivtype='long'
 known_extensions='~static_ext~ ~dynamic_ext~ ~nonxs_ext~'
 ksh=''
-ld='tlink32'
+ld='~LINK32~'
 lddlflags='-Tpd ~LINK_FLAGS~'
 ldflags='~LINK_FLAGS~'
 ldlibpthname=''

--- config.gc.orig	Sun Nov 12 21:49:04 2000
+++ config.gc	Mon Nov 13 19:18:54 2000
@@ -40,7 +40,7 @@
 c=''
 castflags='0'
 cat='type'
-cc='gcc'
+cc='~CC~'
 cccdlflags=' '
 ccdlflags=' '
 ccflags='-MD -DWIN32'

--- config.vc.orig	Sun Nov 12 21:48:54 2000
+++ config.vc	Mon Nov 13 19:18:34 2000
@@ -40,7 +40,7 @@
 c=''
 castflags='0'
 cat='type'
-cc='cl'
+cc='~CC~'
 cccdlflags=' '
 ccdlflags=' '
 ccflags='-MD -DWIN32'
@@ -532,7 +532,7 @@
 ivtype='long'
 known_extensions='~static_ext~ ~dynamic_ext~ ~nonxs_ext~'
 ksh=''
-ld='link'
+ld='~LINK32~'
 lddlflags='-dll ~LINK_FLAGS~'
 ldflags='~LINK_FLAGS~'
 ldlibpthname=''

--- Makefile.orig	Mon Nov 13 18:07:24 2000
+++ Makefile	Mon Nov 13 19:14:53 2000
@@ -691,6 +691,7 @@
 		"INST_ARCH=$(INST_ARCH)"		\
 		"archname=$(ARCHNAME)"			\
 		"cc=$(CC)"				\
+		"ld=$(LINK32)"				\
 		"ccflags=$(OPTIMIZE:"=\") $(DEFINES) $(BUILDOPT)"	\
 		"cf_email=$(EMAIL)"			\
 		"d_crypt=$(D_CRYPT)"			\

--- makefile.mk.orig	Mon Nov 13 18:07:24 2000
+++ makefile.mk	Mon Nov 13 19:09:55 2000
@@ -813,6 +813,7 @@
 		INST_ARCH=$(INST_ARCH)		~	\
 		archname=$(ARCHNAME)		~	\
 		cc=$(CC)			~	\
+		ld=$(LINK32)			~	\
 		ccflags=$(OPTIMIZE) $(DEFINES) $(BUILDOPT)	~	\
 		cf_email=$(EMAIL)		~	\
 		d_crypt=$(D_CRYPT)		~	\

<!ENTITY Vadim REALLIFE "Vadim V.Konovalov, St.Petersburg, Russia">
&Vadim;

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About