User:Love4boobies/Cygwin as UNIX

From OSDev.wiki
Jump to navigation Jump to search
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.