Re: Unix command for Windows

From: Heny Townsend (henry.townsend_at_not.here)
Date: 11/12/04


Date: Fri, 12 Nov 2004 15:19:06 GMT

Kenny McCormack wrote:
> In article <Pine.SOL.4.58.0411111616230.1562@zaphod>,
> Rich Teer <rich.teer@rite-group.com> wrote:
>
>>On Thu, 11 Nov 2004, newbiecpp wrote:
>>
>>
>>>I am looking for unix command, such as grep and find, for Windows.
>>>I don't want Cygwin kind of staff. Just simple exe files for these unix
>>>command which I can put in \bin directory. I appreciate if some can
>>>give the direction to find such applications. Thanks in advance
>>
>>How about the MKS Toolkit?
>
>
> Aren't all of these suggestions essentially equivalent?
> I.e., find some toolkit on the net/web and install it on your machine.
> The OP says he "don't [sic] want Cygwin kind of staff[sic]", so I would
> assume that would apply to all such toolkits.
>
> I would assume we should try to find out why he doesn't want Cygwin kind of
> staff^H^H^Huff.

I can't speak for the OP, but broadly there are two kinds of "ports" of
Unix utilities to Windows: those which depend on a central DLL that
provides Unix compatible interfaces, and "native" ports which compile
directly to Windows APIs. In other words, in the Cygwin model the DLL
provides a Unix layer and the utilities are compiled in its "Unix"
environment. The good news is the port becomes much easier, the bad news
is that everything depends on Cygwin being installed. Native ports
(potentially) require modifying each indivudual utility, but the result
is programs which can live standalone, thus making them easier to ship
with your application or to share around the network without installing
Cygwin everywhere.

If you look at the docs for packages such as GnuWin32 or MinGW or MSys,
you'll see that they make a point of saying they're native ports unlike
Cygwin. Most likely this is what he means.

Now back to Unix ...

-- 
Henry Townsend


Relevant Pages

  • Re: Building a Windows CLISP
    ... I decided to install something that would let me ... Since I've never used Unix, ... You can run Linux on MS-Windows without having to partition your hard disk. ... This will probably be easier than cygwin, ...
    (comp.lang.lisp)
  • Re: How to access a shared folder on Win computer with mount ?
    ... Cygwin (UNIX simulator under MS Windows) has a reasonably functional ... (I'd recommend to begin with full install first). ...
    (comp.unix.solaris)
  • Re: subversion on FreeBSD 4.10
    ... I've upgraded all the ports including perl. ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # To avoid running MAKEDEV all on /dev during install: ...
    (freebsd-questions)
  • Re: newest PHP port upgrade broke php5-mbstring-5.0.1 ?
    ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # certain ports. ... # To avoid running MAKEDEV all on /dev during install: ...
    (freebsd-questions)
  • Re: What is the more popular UNIX flavor?
    ... about my experience with Solaris and Cygwin. ... installing packages. ... needing eg tftp you only need to activate on a Unix system. ... probably need installing first on the equivalent Windows system. ...
    (comp.unix.questions)