User:Love4boobies/Cygwin as UNIX: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{stub}}
{{stub}}


''TODO: Go through libraries as well.''
In order to bring your Cygwin environment as close as possible to the UNIX System, you want to install at least the following packages and their dependencies. Note that some of these may be missing from the 64-bit distribution. You can find a full list [http://www.cygwin.com/cygwin-64bit-missing here]. Furthermore, not all of these packages are necessarily useful for the purpose of OS development.


In order to bring your Cygwin environment as close as possible to the UNIX System, you want to install at least the following packages, their dependencies, as well as the '''Base''' packages, and to set the <tt>POSIXLY_CORRECT</tt> environment variable. Note that some of these may be missing from the 64-bit distribution; you can find a full list [http://www.cygwin.com/cygwin-64bit-missing here]. Furthermore, not all of these packages are necessarily useful for the purpose of OS development.

* base-cygwin
* base-files
* bash (utilities: <tt>alias</tt><ref name=builtin>This is a Bash built-in command. You can find a link to the full list of the Bash built-in commands at the bottom of the page.</ref>, <tt>sh</tt>, <tt>cd</tt><ref name=builtin />, <tt>command</tt><ref name=builtin />, <tt>getopts</tt><ref name=builtin />, <tt>hash</tt><ref name=builtin />, <tt>read</tt><ref name=builtin />, <tt>type</tt><ref name=builtin />, <tt>ulimit</tt><ref name=builtin />, <tt>umask</tt><ref name=builtin />, <tt>unalias</tt><ref name=builtin />)
* bash (utilities: <tt>alias</tt><ref name=builtin>This is a Bash built-in command. You can find a link to the full list of the Bash built-in commands at the bottom of the page.</ref>, <tt>sh</tt>, <tt>cd</tt><ref name=builtin />, <tt>command</tt><ref name=builtin />, <tt>getopts</tt><ref name=builtin />, <tt>hash</tt><ref name=builtin />, <tt>read</tt><ref name=builtin />, <tt>type</tt><ref name=builtin />, <tt>ulimit</tt><ref name=builtin />, <tt>umask</tt><ref name=builtin />, <tt>unalias</tt><ref name=builtin />)
* bc (utilities: <tt>bc</tt>)
* bc (utilities: <tt>bc</tt>)
Line 27: Line 31:
* libiconv (utilities: <tt>iconv</tt>)
* libiconv (utilities: <tt>iconv</tt>)
* m4 (utilities: <tt>m4</tt>)
* m4 (utilities: <tt>m4</tt>)
* man (utilities: <tt>man</tt>)
* man-db (utilities: <tt>man</tt>)
* make (utilities: <tt>make</tt>)
* make (utilities: <tt>make</tt>)
* mintty (terminal)
* mintty (terminal)
* ncompress (utilities: <tt>compress</tt>, <tt>uncompress</tt>)
* ncurses (utilities: <tt>tabs</tt>, <tt>tput</tt>)
* ncurses (utilities: <tt>tabs</tt>, <tt>tput</tt>)
* patch (utilities: <tt>patch</tt>)
* patch (utilities: <tt>patch</tt>)
Line 43: Line 48:
{{reflist}}
{{reflist}}


The following utilities cannot be found in any of the packages: <tt>admin</tt>, <tt>asa</tt>, <tt>at</tt>, <tt>batch</tt>, <tt>bg</tt>, <tt>cflow</tt>, <tt>compress</tt>, <tt>cxref</tt>, <tt>delta</tt>, <tt>fc</tt>, <tt>fg</tt>, <tt>get</tt>, <tt>jobs</tt>, <tt>localedef</tt>, <tt>mailx</tt>, <tt>newgrp</tt>, <tt>prs</tt>, <tt>qalter</tt>, <tt>qdel</tt>, <tt>qhold</tt>, <tt>qmove</tt>, <tt>qmsg</tt>, <tt>qreturn</tt>, <tt>qrls</tt>, <tt>qselect</tt>, <tt>qsig</tt>, <tt>qstat</tt>, <tt>qsub</tt>, <tt>rmdel</tt>, <tt>sact</tt>, <tt>sccs</tt>, <tt>uncompress</tt>, <tt>unget</tt>, <tt>uucp</tt>, <tt>uustat</tt>, <tt>uux</tt>, <tt>val</tt>, <tt>wait</tt>, <tt>what</tt>, and <tt>write</tt>.
The following utilities cannot be found in any of the packages: <tt>admin</tt>, <tt>asa</tt>, <tt>at</tt>, <tt>batch</tt>, <tt>bg</tt>, <tt>cflow</tt>, <tt>cxref</tt>, <tt>delta</tt>, <tt>fc</tt>, <tt>fg</tt>, <tt>get</tt>, <tt>jobs</tt>, <tt>localedef</tt>, <tt>mailx</tt>, <tt>newgrp</tt>, <tt>prs</tt>, <tt>qalter</tt>, <tt>qdel</tt>, <tt>qhold</tt>, <tt>qmove</tt>, <tt>qmsg</tt>, <tt>qreturn</tt>, <tt>qrls</tt>, <tt>qselect</tt>, <tt>qsig</tt>, <tt>qstat</tt>, <tt>qsub</tt>, <tt>rmdel</tt>, <tt>sact</tt>, <tt>sccs</tt>, <tt>unget</tt>, <tt>uucp</tt>, <tt>uustat</tt>, <tt>uux</tt>, <tt>val</tt>, <tt>wait</tt>, <tt>what</tt>, and <tt>write</tt>.


Here are some possible starting points for these utilities:
Here are some possible starting points for these utilities:
Line 50: Line 55:
* [ftp://sunsite.unc.edu/pub/Linux/devel/lang/fortran Asa] (utilities: <tt>asa</tt>)
* [ftp://sunsite.unc.edu/pub/Linux/devel/lang/fortran Asa] (utilities: <tt>asa</tt>)
* [http://www.gnu.org/software/cflow/ GNU cflow] (utilities: <tt>cflow</tt>)
* [http://www.gnu.org/software/cflow/ GNU cflow] (utilities: <tt>cflow</tt>)
* [http://ncompress.sourceforge.net/ ncompress] (utilities: <tt>compress</tt>, <tt>uncompress</tt>)
* [http://www.gedanken.org.uk/software/cxref/ Cxref] (utilities: <tt>cxref</tt>)
* [http://www.gedanken.org.uk/software/cxref/ Cxref] (utilities: <tt>cxref</tt>)
* [http://mailutils.org/ GNU Mailutils] (utilities: <tt>mailx</tt>)
* [http://mailutils.org/ GNU Mailutils] (utilities: <tt>mailx</tt>)

Latest revision as of 01:59, 24 October 2016

This page is a stub.
You can help the wiki by accurately adding more contents to it.

TODO: Go through libraries as well.

In order to bring your Cygwin environment as close as possible to the UNIX System, you want to install at least the following packages, their dependencies, as well as the Base packages, and to set the POSIXLY_CORRECT environment variable. Note that some of these may be missing from the 64-bit distribution; you can find a full list here. Furthermore, not all of these packages are necessarily useful for the purpose of OS development.

  • base-cygwin
  • base-files
  • bash (utilities: alias[1], sh, cd[1], command[1], getopts[1], hash[1], read[1], type[1], ulimit[1], umask[1], unalias[1])
  • bc (utilities: bc)
  • binutils (linker; utilities: ar, nm, strings, strip)
  • bison (utilities: yacc)
  • catgets (utilities: gencat)
  • coreutils (utilities: basename, cat, chgrp, chmod, chown, cksum, comm, cp, csplit, cut, date, dd, df, dirname, du, echo, env, expand, expr, false, fold, head, id, join, link, ln, logname, ls, mkdir, mkfifo, mv, nice, nl, nohup, od, paste, pathchk, pr, printf, pwd, rm, rmdir, sleep, sort, split, stty, tail, tee, test, touch, tr, true, tsort, tty, uname, unexpand, uniq, unlink, wc, who)
  • cron (utilities: cron)
  • ctags (utilities: ctags)
  • cygutils (utilities: lp)
  • cygwin (utilities: getconf, kill, locale, ps)
  • diffutils (utilities: cmp, diff)
  • ed (utilities: ed)
  • file (utilities: file)
  • findutils (utilities: find, xargs)
  • flex (utilities: lex)
  • gawk (utilities: awk)
  • gcc-core (utilities: c99)
  • gcc-fortran (utilities: fort77)
  • grep (utilities: grep)
  • gzip (utilities: zcat)
  • inetutils (utilities: talk)
  • ipc-utils (utilities: ipcrm, ipcs)
  • libiconv (utilities: iconv)
  • m4 (utilities: m4)
  • man-db (utilities: man)
  • make (utilities: make)
  • mintty (terminal)
  • ncompress (utilities: compress, uncompress)
  • ncurses (utilities: tabs, tput)
  • patch (utilities: patch)
  • pax (utilities: pax)
  • psmisc (utilities: fuser)
  • sed (utilities: sed)
  • sharutils (utilities: uudecode, uuencode)
  • sysvinit (utilities: mesg)
  • time (utilities: time)
  • util-linux (utilities: cal, logger, more, renice)
  • vim-minimal (utilities: ex, vi)

Template:Reflist

The following utilities cannot be found in any of the packages: admin, asa, at, batch, bg, cflow, cxref, delta, fc, fg, get, jobs, localedef, mailx, newgrp, prs, qalter, qdel, qhold, qmove, qmsg, qreturn, qrls, qselect, qsig, qstat, qsub, rmdel, sact, sccs, unget, uucp, uustat, uux, val, wait, what, and write.

Here are some possible starting points for these utilities:

  • SCCS (utilities: admin, delta, get, prs, rmdel, sact, sccs, unget, val, what)
  • Asa (utilities: asa)
  • GNU cflow (utilities: cflow)
  • Cxref (utilities: cxref)
  • GNU Mailutils (utilities: mailx)
  • GNU UUCP (utilities: uucp, uux)

See Also

  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 This is a Bash built-in command. You can find a link to the full list of the Bash built-in commands at the bottom of the page.