Hi Jim!

On Thu, Jun 16, 2016 at 7:50 AM, Jim Michaels <[email protected]> wrote:
> - make does not make the windows/dos commands COPY, MOVE, IF, FOR etc 
> available. ...

I have used windows/dos command with mingw-w64's
mingw32-make.exe (e.g., DEL, COPY) just fine (running
on windows, of course).

Note, make doesn't provide these -- make just "shells out"
the command, and it's up to the os (or its command prompt)
to provides / run them.

So, unless you install third-party stuff (or define aliases) you
won't be able to use "DEL" running make on unix (or use "rm"
running make on windows).

> equivalents need to be made available with the compiler, like cp, mv- most 
> expected basic things like automake, autoconf, m4, grep, egrep, fgrep, sed, 
> tr, cut, paste
> - grep -r -l "" * doesn't always work for file trees, and why can't I specify 
> file filters like *.cpp *.h *.hpp *.cc *.cxx *.hxx *.c? it's just a sequence 
> of globs. but it would not match directories.

Well, you won't find unix-style commands on windows (unless you
put them there).  Rightly or wrongly, make views its job as running
commands that you (or the os) have provided to build its way up
the dependency tree.

You might want to look at msys / msys2.  Its purpose is to provide
a unix-like environment on windows so that you can run things like
autoconf and unix-centric makefiles on windows.

> - make should not depend on tabs alone for indentation and command handling. 
> how about spaces? -------------

Ah,well yes.  Like the python authors, the make authors chose
unwisely in giving different kinds of white space different syntactic
and semantic meaning.

But that's how make works.  Our wishes notwithstanding, I don't
see that ever changing.

>  Jim Michaels<[email protected]> http://www.JesusnJim.com (computer repair 
> info, programming)


Happy Hacking!


K. Frank

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to