Changeset 3220 for trunk/essentials/dev-lang/perl/hints/os2.sh
- Timestamp:
- Apr 29, 2007, 3:34:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/dev-lang/perl/hints/os2.sh
r3197 r3220 11 11 # Note that symbol extraction code gives wrong answers (sometimes?) on 12 12 # gethostent and setsid. 13 14 # Optimization (GNU make 3.74 cannot be loaded :-():15 emxload -m 30 sh.exe ls.exe tr.exe id.exe sed.exe # make.exe16 emxload -m 30 grep.exe egrep.exe fgrep.exe cat.exe rm.exe mv.exe cp.exe17 emxload -m 30 uniq.exe basename.exe sort.exe awk.exe echo.exe18 13 19 14 path_sep=\; … … 103 98 libpth="$libpth $libemx" 104 99 105 #set `cmd /c emxrev -f emxlibcm`106 #emxcrtrev=$5107 # indented to not put it into config.sh108 #_defemxcrtrev=-D_EMX_CRT_REV_=$emxcrtrev109 _defemxcrtrev=-D_EMX_CRT_REV_=61110 111 100 so='dll' 112 101 … … 135 124 fflushNULL="define" 136 125 137 aout_d_shrplib='undef' 138 aout_useshrplib='false' 139 aout_obj_ext='.o' 140 aout_lib_ext='.a' 141 aout_ar='ar' 142 aout_plibext='.a' 143 aout_lddlflags="-Zdll $ld_dll_optimize" 144 145 # Cannot have 32000K stack: get SYS0170 ?! 146 aout_ldflags='-Zexe -Zstack 16000 ' 147 148 # To get into config.sh: 149 aout_ldflags="$aout_ldflags" 150 151 aout_d_fork='define' 152 aout_ccflags="-DDOSISH -DOS2=2 -DEMBED -I. $_defemxcrtrev " 153 aout_cppflags="-DDOSISH -DOS2=2 -DEMBED -I. $_defemxcrtrev " 154 aout_use_clib='libc_dll' 155 aout_usedl='undef' 156 aout_archobjs="os2.o dl_os2.o" 157 # Not listed in dynamic_ext, but needed for AOUT static_ext nevertheless 158 aout_extra_static_ext="OS2::DLL" 159 160 # variable which have different values for aout compile 161 used_aout='d_shrplib useshrplib plibext lib_ext obj_ext ar plibext d_fork lddlflags ldflags ccflags use_clib usedl archobjs cppflags' 162 163 if [ "$emxaout" != "" ]; then 164 d_shrplib="$aout_d_shrplib" 165 useshrplib="$aout_useshrplib" 166 obj_ext="$aout_obj_ext" 167 lib_ext="$aout_lib_ext" 168 ar="$aout_ar" 169 plibext="$aout_plibext" 170 d_fork='define' 171 lddlflags="$aout_lddlflags" 172 ldflags="$aout_ldflags" 173 ccflags="$aout_ccflags" 174 cppflags="$aout_cppflags" 175 use_clib="$aout_use_clib" 176 usedl="$aout_usedl" 177 else 178 d_shrplib='define' 179 useshrplib='true' 180 obj_ext='.o' 181 lib_ext='.lib' 182 ar='emxomfar' 183 plibext='.lib' 184 d_fork='define' 185 lddlflags="-Zdll -Zomf " 186 # Recursive regmatch may eat 2.5M of stack alone. 187 ldflags='-Zexe -Zomf -Zstack 32000 ' 188 ccflags="-Zomf -DDOSISH -DOS2=2 -DEMBED -I. $_defemxcrtrev" 189 use_clib='libc_dll' 190 usedl='define' 191 fi 126 # Not listed in dynamic_ext, but needed for static_ext nevertheless 127 extra_static_ext="OS2::DLL" 128 129 d_shrplib='define' 130 useshrplib='true' 131 obj_ext='.o' 132 lib_ext='.a' 133 ar='ar' 134 plibext='.a' 135 d_fork='define' 136 lddlflags="-Zdll -Zomf " 137 # Recursive regmatch may eat 2.5M of stack alone. 138 ldflags='-Zomf -Zhigh-mem -Zstack 32000 ' 139 ccflags="-DDOSISH -DOS2=2 -DEMBED -I." 140 use_clib='libc_dll' 141 usedl='define' 142 192 143 193 144 # indented to miss config.sh … … 261 212 lns='cp' 262 213 263 nm_opt='-p '214 nm_opt='-pa' 264 215 265 216 ####### We define these functions ourselves … … 424 375 case "$usethreads" in 425 376 $define|true|[yY]*) 426 ccflags="$ccflags" 427 cppflags="$cppflags" # Do we really need to set this? 428 aout_ccflags="-DUSE_THREADS $aout_ccflags" 429 aout_cppflags="-DUSE_THREADS $aout_cppflags" 430 aout_lddlflags="$aout_lddlflags" 431 aout_ldflags="$aout_ldflags" 377 ccflags="$ccflags -DUSE_THREADS" 378 cppflags="$cppflags -DUSE_THREADS" # Do we really need to set this? 432 379 ;; 433 380 esac
Note:
See TracChangeset
for help on using the changeset viewer.