History

--enable-tcc32-mingw option: build windows version on linux with i386-win-tcc --enable-tcc64-mingw option: build windows version on linux with x86_64-win-tcc

seyko committed 11 years ago

Commit bfb7b0d1 parent 48d12e41 file · +9 −1Browse files

Unified · Split

configure+9−1
@@ -173,6 +173,10 @@ for opt do · 172 unmodified lines
173 ;;173 ;;
174 --enable-cygwin) mingw32="yes" ; cygwin="yes" ; cross_prefix="mingw32-" ; cpu=x86174 --enable-cygwin) mingw32="yes" ; cygwin="yes" ; cross_prefix="mingw32-" ; cpu=x86
175 ;;175 ;;
176 --enable-tcc32-mingw) mingw32="yes" ; cross_prefix="i386-win-" ; cpu=x86; cc=tcc
177 ;;
178 --enable-tcc64-mingw) mingw32="yes" ; cross_prefix="x86_64-win-" ; cpu=x86_64; cc=tcc
179 ;;
176 --enable-cross) build_cross="yes"180 --enable-cross) build_cross="yes"
177 ;;181 ;;
178 --enable-assert) enable_assert="yes"182 --enable-assert) enable_assert="yes"
@@ -302,6 +306,8 @@ Advanced options (experts only): · 123 unmodified lines
302 --disable-static make libtcc.so instead of libtcc.a306 --disable-static make libtcc.so instead of libtcc.a
303 --disable-rpath disable use of -rpath with the above307 --disable-rpath disable use of -rpath with the above
304 --with-libgcc use libgcc_s.so.1 instead of libtcc1.a in dynamic link308 --with-libgcc use libgcc_s.so.1 instead of libtcc1.a in dynamic link
309 --enable-tcc64-mingw build windows version on linux with x86_64-win-tcc
310 --enable-tcc32-mingw build windows version on linux with i386-win-tcc
305 --enable-mingw32 build windows version on linux with mingw32311 --enable-mingw32 build windows version on linux with mingw32
306 --enable-cygwin build windows version on windows with cygwin312 --enable-cygwin build windows version on windows with cygwin
307 --enable-cross build cross compilers313 --enable-cross build cross compilers
@@ -316,8 +322,10 @@ EOF · 8 unmodified lines
316exit 1322exit 1
317fi323fi
318 324
325if test "$cc" != "tcc"; then
326 ar="${cross_prefix}${ar}"
327fi
319cc="${cross_prefix}${cc}"328cc="${cross_prefix}${cc}"
320ar="${cross_prefix}${ar}"
321strip="${cross_prefix}${strip}"329strip="${cross_prefix}${strip}"
322 330
323CONFTEST=./conftest$EXESUF331CONFTEST=./conftest$EXESUF

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