Make gcc the default compiler.
This commit is contained in:
parent
ffe421835c
commit
680d641f2f
2 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-02-03 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* configure.bat: Make gcc the default compiler.
|
||||
|
||||
2008-02-02 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* makefile.w32-in (unidatagen-SH, unidatagen-clean-SH): Ignore
|
||||
|
|
|
@ -244,15 +244,16 @@ rem Auto-detect compiler if not specified, and validate GCC if chosen.
|
|||
if (%COMPILER%)==(cl) goto compilercheckdone
|
||||
if (%COMPILER%)==(gcc) goto checkgcc
|
||||
|
||||
echo Checking whether 'cl' is available...
|
||||
echo Checking whether 'gcc' is available...
|
||||
echo main(){} >junk.c
|
||||
gcc -c junk.c
|
||||
if exist junk.o goto checkgcc
|
||||
del junk.o
|
||||
|
||||
echo Checking whether 'cl' is available...
|
||||
cl -nologo -c junk.c
|
||||
if exist junk.obj goto clOK
|
||||
|
||||
echo Checking whether 'gcc' is available...
|
||||
gcc -c junk.c
|
||||
if not exist junk.o goto nocompiler
|
||||
del junk.o
|
||||
goto nocompiler
|
||||
|
||||
:checkgcc
|
||||
Rem WARNING -- COMMAND.COM on some systems only looks at the first
|
||||
|
|
Loading…
Add table
Reference in a new issue