GNU make / DJGPP make difference? (Developers)
> I know GNU make from *nix and the port mingw32-make, both are identical.
There's actually some reason they keep mingw32-make separate from just calling it "make", but I forget (not POSIX enough??). BTW, I'm no makefile pro, but I do know that makefiles are almost never portable and are hard to write effectively (or read, IMO).
> My makefiles working on windows with mingw32-make doesn't work under DOS
> with make from DJGPP, error message "no target specified and no makefile
> found". I simply join the folder with the source and the makefile and type
> not mingw32-make but simply make.
What OS? It may not be finding the default makefile. And it may be expecting a case sensitive filename, e.g. Makefile or makefile.mak or whatever.
> It seams like make from DJGPP is also a port and no clone. Any idea why it
> doesn't work as jump in replacement?
The DJGPP port has to deal with DOS limitations, e.g. workaround the cmdline size limit, lack of default *nix shell, SFNs, etc. Also, since DOS is (usually) single-tasking, -j doesn't do anything (or at least nobody with knowledge of DR-DOS or Desqview/X bothered to send in their patches).
> If I use make -f c:\fullpath\source\makefile then I get "missing
> separator. Stop". There are tabs and no spaces, created the tabs with
> windows notepad, wordpad and FreeDOS edit and rhide. Same...
Some editors expand all tabs to spaces upon saving (MS Edit?). RHIDE is pretty much abandoned, and Notepad is wimpy (no *nix LF compatibility), plus Wordpad probably isn't even intended for plain text.
> Any advise?
Get a better editor. Tell exactly what OS, what make versions, filesizes and dates, etc. Double check that tabs exist in your makefile. Watch out for filename case sensitivity. And don't expect makefiles to be as portable as you'd hope, they usually aren't. However, sometimes people manage a fairly good job (e.g. S-Lang or Allegro).
There are actually a lot of make clones, and there are equally as many make "improvements". So you've got a lot of exploring to do if you give up on make (mk, Scons, Jam, makemake, cmake, etc).
Complete thread:
- GNU make / DJGPP make difference? - mr, 30.08.2008, 19:01 (Developers)
- GNU make / DJGPP make difference? - Rugxulo, 31.08.2008, 00:38
- GNU make / DJGPP make difference? - mr, 31.08.2008, 02:04
- GNU make / DJGPP make difference? - marcov, 01.09.2008, 11:44
- GNU make / DJGPP make difference? - mr, 31.08.2008, 02:07
- GNU make / DJGPP make difference? - Laaca, 31.08.2008, 09:55
- GNU make / DJGPP make difference? - Rugxulo, 31.08.2008, 20:40
- GNU make / DJGPP make difference? - Rugxulo, 02.09.2008, 04:50
- GNU make / DJGPP make difference? - mr, 02.09.2008, 14:40
- GNU make / DJGPP make difference? - Rugxulo, 02.09.2008, 22:49
- GNU make / DJGPP make difference? - Rugxulo, 31.08.2008, 00:38