ConfigPerlGcc revision 7c478bd95313f5f23a4c958a745db2134aa03244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
#
# This script was used to generate the perl configuration files used to support
# the use of gcc to build perl extensions against perl 5.8.4 as shipped in ON.
# This script should be run from within the perl source directory.
#
# Delete any old configuration files.
# Die on error.
set -e
# Global settings.
# Create the config.over file to override some common settings.
ccversion='GNU gcc'
cf_by='perl-bugs'
cf_email='perl-bugs@sun.com'
cf_time=''
cppflags=''
gccosandvers=''
gccversion=''
installusrbinperl='undef'
lddlflags='-G'
ldflags=''
#libsdirs=`echo $libsdirs | sed -e "s! *${CC}[^ ]* *! !"`
#libsfound=`echo $libsfound | sed -e "s! *${CC}[^ ]* *! !"`
#loclibpth=`echo $loclibpth | sed -e 's!${CC}! !' -e 's!${CC}! !'`
#loclibpth=`echo $loclibpth | sed -e "s! *${CC}[^ ]* *! !"`
make_set_make='#'
myhostname='localhost'
if [ `uname -p` = "sparc" ]; then
myuname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
else
myuname='sunos localhost 5.10 i86pc i386 i86pc'
fi
osvers='2.10'
perladmin='perl-bugs@sun.com'
# Run Configure with the correct flags to give the required config files
sed -e "s/^config_args=.*/config_args=''/" \
-e "s/^config_argc=.*/config_argc=0/" \
-e "/^config_arg[1-9][0-9]*=/d" \
-e "s/ threads threads\\/shared//" \
-e "s/' */'/g" \
-e "s/ *'/'/g" \
# Expand config.sh into the generated files used during the build
./Configure -S