Author Topic: compiling under MinGW  (Read 1468 times)

0 Members and 1 Guest are viewing this topic.

Offline wojta

  • 25
    • http://fsworld.wz.cz
compiling under MinGW
I have tried it also because I haven't the MSVC.

It hasn't worked ::( :

Quote

wojta@AMZ /c/fs2_open/fs2_open
$ ./configure
configure: loading site script /etc/config.site
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... ./configure: ac_maketemp="make": command ot found
no
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
using Win32 defines (for mingw32)
checking for g++... g++
checking for C++ compiler default output... configure: error: C++ compiler cannt create executables
See `config.log' for more details.


and part of config.log where the error  is described :

configure:1964: checking for C++ compiler version
configure:1967: g++ --version &5
g++.exe: no input files  :blah:
configure:1970: $? = 1
configure:1972: g++ -v &5
g++.exe: no input files
configure:1975: $? = 1
configure:1977: g++ -V &5
g++.exe: no input files
configure:1980: $? = 1
configure:2004: checking for C++ compiler default output
configure:2007: g++ -O2   conftest.cc  >&5
g++.exe: no input files
configure:2010: $? = 1
configure: failed program was:
| #line 1983 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "fs2_open"
| #define PACKAGE_TARNAME "fs2_open"
| #define PACKAGE_VERSION "3.5"
| #define PACKAGE_STRING "fs2_open 3.5"
| #define PACKAGE_BUGREPORT ""
| #define NO_CD_CHECK 1
| #define NO_SOFTWARE_RENDERING 1
| #define NDEBUG 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2049: error: C++ compiler cannot create executables :mad:
 


I have no idea how to solve it.
g++.exe: no input files - ???
There might be a problem in my configuration or configure script.
FS2_OPEN 3.5. I downloaded it from CVS three days ago.
« Last Edit: March 11, 2003, 02:38:58 am by 1066 »

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Re: compiling under MinGW
Quote
Originally posted by wojta
I have tried it also because I haven't the MSVC.

It hasn't worked ::( :
Do you have the latest MinGW and MSYS (and all the patches) ?  You can get them from the MinGW site

The stuff you need is listed in this post  That's what I have on my machine, and I haven't updated or patched anything else.  Double-check that you've got it all installed correctly, especially the "package upgrades."
your source code slave

 

Offline wojta

  • 25
    • http://fsworld.wz.cz
I have decided that the problem is in the MSYS shell. I have the latest MinGW. Maybe the patch could help me.

DOS Box:


C:\MinGW\bin>gcc --version
gcc (GCC) 3.2 (mingw special 20020817-1)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


MSYS shell:


wojta@AMZ ~
$ gcc --version
gcc.exe: no input files :mad:

wojta@AMZ ~
$

  

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Quote
Originally posted by wojta
I have decided that the problem is in the MSYS shell. I have the latest MinGW. Maybe the patch could help me.

DOS Box:


C:\MinGW\bin>gcc --version
gcc (GCC) 3.2 (mingw special 20020817-1)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


MSYS shell:


wojta@AMZ ~
$ gcc --version
gcc.exe: no input files :mad:

wojta@AMZ ~
$
weird.  Well, you'll definitely need MSYS to build, since the Makefiles that are created have a lot of shell script crap in them.  I'm pretty sure it won't work from the brain-dead DOS box.  Anyhow, that's good new (I think).  Keep us posted.

I have just committed new changes to the autoconf scripts, I'll post my changes in the autoconf thread.
your source code slave