Changeset 249 in Main for trunk/vc6.sh
- Timestamp:
- Oct 4, 2024, 5:59:55 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/vc6.sh
r222 r249 7 7 options="/I../VC6Compat" 8 8 obj=0 9 win=0 9 10 source="" 10 11 libraries="" … … 27 28 elif [ "$i" = "-shared" ]; then 28 29 options="$options /LD" 30 elif [ "$i" = "-mwindows" ]; then 31 win=1 29 32 elif [ "`echo "$i" | grep -Eo "^-D"`" = "-D" ]; then 30 33 options="$options /`echo "$i" | sed "s/^-//g"`" 31 34 elif [ "`echo "$i" | grep -Eo "^-l"`" = "-l" ]; then 35 if [ "$i" = "-luser32" ]; then 36 libraries="$libraries gdi32.lib" 37 fi 32 38 libraries="$libraries `echo "$i" | sed "s/^-l//g"`.lib" 33 39 elif [ "$dowhat" = "output" ]; then … … 49 55 link="/link /nodefaultlib:libc $libraries" 50 56 fi 57 if [ "$obj" = "0" ]; then 58 if [ "$win" = "1" ]; then 59 link="$link /SUBSYSTEM:windows" 60 fi 61 fi 51 62 construct="cl /nologo $options $source $link" 52 63 echo "Run: $construct"
Note:
See TracChangeset
for help on using the changeset viewer.