History

cleanup win32/tccwin_build.sh

wanjochan committed 6 years ago

Commit 777c0171 parent 62c30a41 file · +13 −17Browse files

Unified · Split

win32/tccwin_build.sh+13−17
@@ -4,11 +4,10 @@ · 3 unmodified lines
4# * to build cross i386-win32-tcc and x86_64-win32-tcc at osx/lnx4# * to build cross i386-win32-tcc and x86_64-win32-tcc at osx/lnx
5# * to build hello_win.c 32/64 with tccwin*.sh5# * to build hello_win.c 32/64 with tccwin*.sh
6 6
7R_=$(pwd)7ROLD=$(pwd)
8#RTCC=$(cd `dirname $0`; pwd)8#RTCC=$(cd `dirname $0`; pwd)
9RTCC=$(cd `dirname $0`/../; pwd)9RTCC=$(cd `dirname $0`/../; pwd)
10cd $RTCC10cd $RTCC
11echo RTCC=$RTCC
12 11
13make clean12make clean
14./configure13./configure
@@ -19,21 +18,18 @@ make tcc · 4 unmodified lines
19make cross-i386-win3218make cross-i386-win32
20make cross-x86_64-win3219make cross-x86_64-win32
21 20
22cd $R_21sh ./win32/tccwin32.sh ./win32/examples/hello_win.c -o ./win32/examples/hello_win32.exe
23pwd22sh ./win32/tccwin64.sh ./win32/examples/hello_win.c -o ./win32/examples/hello_win64.exe
24 23ls -al ./win32/examples/hello_win*.exe
25echo RTCC=$RTCC
26 24
27sh $RTCC/win32/tccwin32.sh $RTCC/win32/examples/hello_win.c -o $RTCC/win32/examples/hello_win32.exe25sh ./win32/tccwin32.sh ./tcc.c -DTCC_LIBTCC1="\"i386-win32-libtcc1.a\"" -o ./tcc32.exe
28sh $RTCC/win32/tccwin64.sh $RTCC/win32/examples/hello_win.c -o $RTCC/win32/examples/hello_win64.exe26sh ./win32/tccwin64.sh ./tcc.c -DTCC_LIBTCC1="\"x86_64-win32-libtcc1.a\"" -o ./tcc64.exe
29ls -al $RTCC/win32/examples/hello_win*.exe27ls -al ./tcc*.exe
30 28
31sh $RTCC/win32/tccwin32.sh $RTCC/tcc.c -DTCC_LIBTCC1="\"i386-win32-libtcc1.a\"" -o $RTCC/tcc32.exe29sh ./win32/tccwin32.sh ./libtcc.c -DLIBTCC_AS_DLL -shared -o ./libtcc32.dll
32sh $RTCC/win32/tccwin64.sh $RTCC/tcc.c -DTCC_LIBTCC1="\"x86_64-win32-libtcc1.a\"" -o $RTCC/tcc64.exe30sh ./win32/tccwin64.sh ./libtcc.c -DLIBTCC_AS_DLL -shared -o ./libtcc64.dll
33ls -al $RTCC/tcc*.exe31ls -al ./libtcc*.dll
34 32
35#sh $RTCC/win32/tccwin32.sh $RTCC/libtcc.c -DTCC_LIBTCC1="\"i386-win32-libtcc1.a\"" -DLIBTCC_AS_DLL -DTCC_TARGET_PE -DTCC_TARGET_I386 -o $RTCC/libtcc32.dll -shared33cd $ROLD
36#sh $RTCC/win32/tccwin64.sh $RTCC/libtcc.c -DTCC_LIBTCC1="\"x86_64-win32-libtcc1.a\"" -DLIBTCC_AS_DLL -DTCC_TARGET_PE -DTCC_TARGET_X86_64 -shared -o $RTCC/libtcc64.dll34pwd
37sh $RTCC/win32/tccwin32.sh $RTCC/libtcc.c -DLIBTCC_AS_DLL -shared -o $RTCC/libtcc32.dll35echo RTCC=$RTCC
38sh $RTCC/win32/tccwin64.sh $RTCC/libtcc.c -DLIBTCC_AS_DLL -shared -o $RTCC/libtcc64.dll
39ls -al $RTCC/libtcc*.dll

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t