On 2006-3-7 20:42 UTC, Matt England wrote:
>
> For what it's worth, you'll get feedback much more quickly if you just
> take the files and run them yourself. (Can I make a .tar.gz attachment
> to these emails to make it easier? I'll try with this note.) But I'm
> happy to make these edits and get back to the this. Stay tuned.
Works fine here in MSYS, run under msw 'xp', after I change
the headers to include files that exist in MinGW:
- #include <sys/msg1.h>
+ #include <stdio.h>
- #include <sys/msg.h>
+ #include <stdlib.h>
Looks like the MSYS-provided 'make' works:
/c/tmp/me_make-test[0]$/c/msys/1.0/bin/make
g++ -c main.cpp -o main.o
g++ main.o -o main.exe
g++ -c alt1.cpp -o alt1.o
g++ alt1.o -o alt1.exe
/c/tmp/me_make-test[0]$./main.exe
/c/tmp/me_make-test[0]$./alt1.exe
[The number in square brackets is the previous command's
return code.]
/c/tmp/me_make-test[0]$/c/msys/1.0/bin/make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-msys
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
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.
Report bugs to <[email protected]>.
It also works with the 3.81beta4 that I built with
MinGW and MSYS:
/c/tmp/me_make-test[0]$../make-3.81beta4/make clean
rm -f main.o alt1.o main.d alt1.d main.exe alt1.exe
/c/tmp/me_make-test[0]$../make-3.81beta4/make
g++ -c main.cpp -o main.o
g++ main.o -o main.exe
g++ -c alt1.cpp -o alt1.o
g++ alt1.o -o alt1.exe
/c/tmp/me_make-test[0]$../make-3.81beta4/make --version
GNU Make 3.81beta4
Copyright (C) 2003 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.
This program built for i686-pc-mingw32
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32