From: SourceForge.net <no...@so...> - 2003-05-08 13:12:10
|
Bugs item #733460, was opened at 2003-05-06 15:10 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=733460&group_id=2435 Category: MinGW Group: Known bugs >Status: Closed Resolution: Wont Fix Priority: 1 Submitted By: James E. Lucas (xelloss) Assigned to: Earnie Boyd (earnie) Summary: w32api-2.3 build from source fails Initial Comment: I'm using cygwin bash 2.05b-9 and minGW make 3.79.1 output follows: gcc -c -O2 -g -I./../include -o largeint.o largeint.c ar rc liblargeint.a largeint.o ranlib liblargeint.a c:/mingw2/bin/make.exe AS="as" CC="gcc" CPPFLAGS="" CFLAGS="-O2 -g" CXXFLAGS="" AR="ar" RANLIB="ranlib" LD="ld" DLLTOOL="dlltool" TAR="tar" TARFLAGS="j" TARFILE EXT=".tar.bz2" WINDRES="windres" -C ddk c:\mingw2\bin\make.exe: invalid option -- g c:\mingw2\bin\make.exe: invalid option -- Usage: c:\mingw2\bin\make.exe [options] [target] ... *** list of make's options *** Report bugs to <bug...@gn...>. c:\mingw2\bin\make.exe[1]: *** [ddk] Error 2 c:\mingw2\bin\make.exe[1]: Leaving directory `C:/programs/power/mingw/w32api-2.3 /lib' make: *** [lib] Error 2 ----------------------------------------------------- Version 2.1 compiled fine (and still does). Haven't tried 2.2. I diffed the Makefiles and there haven't been substantial changes, so I'm scratching my head. I *looks* like it's getting confused by the "-O2 -g" in the CFLAGS variable, but I'm not really sure why. Any takers? ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2003-05-08 09:12 Message: Logged In: YES user_id=15438 I don't see this as our problem. Your environment is preventing you from building. Instead of the Win32 version of make you should use the Cygwin version of make. Earnie. ---------------------------------------------------------------------- Comment By: James E. Lucas (xelloss) Date: 2003-05-07 11:30 Message: Logged In: YES user_id=666734 Well, to my mind even old bugs ought to be worth fixing. I appreciate the info, however. I had pretty much gathered that it had to do with differences in how the shells were interacting. Nevertheless, since 2.1 compiled okay... It seems rather a detriment to MinGWs overall usability to have these kinds of discrepancies pop up. I would ask that you reconsider and take a look at it. In any event, I intend to try my own hand at it when I get a chance, so I appreciate you pointing me in the right direction. ---------------------------------------------------------------------- Comment By: Luke Dunstan (infidel) Date: 2003-05-07 06:57 Message: Logged In: YES user_id=30442 If you are using Cygwin bash then you should always use Cygwin "make" instead of MinGW "make". I think it is a bug in MinGW make with handling the CPPFLAGS="" argument, but my guess is that it only occurs when you are using sh.exe as the shell (instead of command.com/cmd.exe). This is the reason why MSYS requires you to use MSYS "make" instead of the MinGW one. I haven't looked at this bug myself but it is so old that I assume that nobody thinks it is worth fixing. Perhaps you could ask on the "make" mailing list if it matters to you? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=733460&group_id=2435 |