O.k., Earnie, I downloaded the 1.0.7 pre-release and no luck. Since
compiling with G++/GCC on other unix systems seems to not matter to you,
I'll give you an exact rundown of what I'm doing:
1) Download MinGW-1.1.tar.gz from sourceforge
2) Download MSYS-1.0.7-i386-prerelease-1.exe from sourceforge
3) Run MSYS binary to install it
4) Start MSYS shell so I can untar the MinGW tar.gz
5) Untar the WinGW tar.gz from the / of the MSYS shell
6) This untars everything to the C:\msys\1.0\ directory (/ of msys)
7) Restart MSYS shell
8) Download FLTK 1.1.0b13 tar.gz from http://www.fltk.org/
9) Untar FLTK tar.gz and attempt to configure
10) Run ./configure, and receive the following errors:
"configure: error: installation or configuration problem: C compiler
cannot create executables."
[NOTE: there are also a ton of "sed" errors when you try to compile
FLTK 1.1, but that's probably an issue with autoconf compatibilities]
This happens with just about everything I try to compile, so I
investigate whether G++ can compile anything. I make the following file
(test.c):
void main(int argc, char *argv[]) {
exit(1);
}
And run the following command:
gcc test.c
On MSYS, I get this:
gcc.exe: No input files
On gcc version 2.95.3 20010315 (release) [FreeBSD] I get:
test.c: In function `main':
test.c:1: warning: return type of `main' is not `int'
Now, any idea what is going on? Like I said, it seems like the shell
isn't properly passing the command line parameters to gcc (or any of the
binaries in MinGW-1.1 tar.gz). How can I fix this?
Thanks.
Zed
On Sun, 2002-04-28 at 14:47, Earnie Boyd wrote:
> > Zed Shaw wrote:
> >
> > Not sure which list this should be sent to, but I've been having some
> > pretty serious problems with MSYS and MinGW that make it next to
> > worthless. Basically, whenever I try to do anything with GCC (or
> > G++), it tells me that there are "no input files". This appears to be
> > a problem with the way command line arguments are passed to the
> > programs, as it also happens in ld.
> >
> > MSYS runs fine, but it just won't let me run G++ and ld, so configure
> > scripts fail miserably, and makes the whole thing pointless.
> >
> > So, can anyone help? Here's the particulars of the machine:
> >
>
> Get the 1.0.7-prerelease setting in the snapshot package at
> http://sf.net/projects/mingw/ -> Files. I'll have a new official
> release out soon. Make sure that you `mv /mingw/bin/make.exe
> /mingw/bin/mingw32-make.exe'.
>
> I'm building MSYS itself with the prerelease version and I can build
> GCC, binutils, etc.
>
> > * WinNT 4.0 OR Windows XP Professional both have the problem
> > * Code compiles fine on most Unix boxes
> > *
>
> Saying that the "Code compiles fine on most Unix boxes" really doesn't
> mean much. Is the code ANSI only, I.E.: no POSIX/UNIX specific coding?
> Do you need to port the package to Win32 API?
>
> Earnie.
>
> _______________________________________________
> Mingw-msys mailing list
> Mingw-msys@...
> https://lists.sourceforge.net/lists/listinfo/mingw-msys
|