{"id":4946,"date":"2021-09-12T21:00:58","date_gmt":"2021-09-12T19:00:58","guid":{"rendered":"https:\/\/entropie.org\/3615\/?p=4946"},"modified":"2026-04-12T00:55:15","modified_gmt":"2026-04-11T22:55:15","slug":"installation-de-open-watcom-c-c-dans-freedos","status":"publish","type":"post","link":"https:\/\/entropie.org\/3615\/index.php\/2021\/09\/12\/installation-de-open-watcom-c-c-dans-freedos\/","title":{"rendered":"Installation de Open Watcom C\/C++ dans FreeDOS"},"content":{"rendered":"<p>=> <a href=\"http:\/\/www.openwatcom.org\" rel=\"noopener\" target=\"_blank\">http:\/\/www.openwatcom.org<\/a><br \/>\n=> <a href=\"ftp:\/\/ftp.openwatcom.org\/install\/open-watcom-c-dos-1.9.exe\" rel=\"noopener\" target=\"_blank\">ftp:\/\/ftp.openwatcom.org\/install\/open-watcom-c-dos-1.9.exe<\/a><\/p>\n<p><a href=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom1-300x197.png\" alt=\"\" width=\"300\" height=\"197\" class=\"alignnone size-medium wp-image-4947\" srcset=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom1-300x197.png 300w, https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom1.png 726w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><br \/>\n<a href=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom2-300x197.png\" alt=\"\" width=\"300\" height=\"197\" class=\"alignnone size-medium wp-image-4948\" srcset=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom2-300x197.png 300w, https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom2.png 726w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><br \/>\nGarder les s\u00e9lections par d\u00e9faut (DOS, 16 bits, 32 bits notamment) :<\/p>\n<p><a href=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom3-300x197.png\" alt=\"\" width=\"300\" height=\"197\" class=\"alignnone size-medium wp-image-4949\" srcset=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom3-300x197.png 300w, https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom3.png 726w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><br \/>\n<a href=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom4-300x197.png\" alt=\"\" width=\"300\" height=\"197\" class=\"alignnone size-medium wp-image-4950\" srcset=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom4-300x197.png 300w, https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom4.png 726w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><br \/>\n<a href=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom5-300x197.png\" alt=\"\" width=\"300\" height=\"197\" class=\"alignnone size-medium wp-image-4952\" srcset=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom5-300x197.png 300w, https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom5.png 726w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><br \/>\n<a href=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom6.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom6-300x197.png\" alt=\"\" width=\"300\" height=\"197\" class=\"alignnone size-medium wp-image-4961\" srcset=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom6-300x197.png 300w, https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom6.png 726w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><\/p>\n<p>On supprimera apr\u00e8s les fichiers config.sys et autoexec.bat (ceux-ci sont vides).<\/p>\n<p><a href=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom8.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom8-300x197.png\" alt=\"\" width=\"300\" height=\"197\" class=\"alignnone size-medium wp-image-4962\" srcset=\"https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom8-300x197.png 300w, https:\/\/entropie.org\/3615\/wp-content\/uploads\/2021\/09\/watcom8.png 726w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><\/p>\n<p>Rajouts personnels \u00e0 la fin du fichier fdauto.bat (= autoexec.bat) :<\/p>\n<pre>\r\nedit fdauto.bat\r\n<\/pre>\n<pre>\r\nREM *** OPEN WATCOM 1.9 ***\r\nPATH C:\\WATCOM\\BINW;%PATH%\r\nSET INCLUDE=C:\\WATCOM\\H\r\nSET WATCOM=C:\\WATCOM\r\nSET EDPATH=C:\\WATCOM\\EDDAT\r\nSET WIPFC=C:\\WATCOM\\WIPFC\r\n<\/pre>\n<p>CTRL+S : Save<br \/>\nALT+X  : Exit<\/p>\n<p>Pour compiler et cr\u00e9er un ex\u00e9cutable avec Watcom :<\/p>\n<pre>\r\nwcl hello.c\r\nwcl hello.cpp\r\n<\/pre>\n<p>hello.c :<\/p>\n<pre>\r\n#include &lt;stdio.h&gt;\r\n\r\nvoid main()\r\n{\r\n  printf( \"Hello world\\n\" );\r\n}\r\n<\/pre>\n<p>hello.cpp :<\/p>\n<pre>\r\n#include &lt;iostream.h&gt;\r\n\r\nint main()\r\n{\r\n  cout << \"Hello world\" << endl;\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>=> http:\/\/www.openwatcom.org => ftp:\/\/ftp.openwatcom.org\/install\/open-watcom-c-dos-1.9.exe Garder les s\u00e9lections par d\u00e9faut (DOS, 16 bits, 32 bits notamment) : On supprimera apr\u00e8s les fichiers config.sys et autoexec.bat (ceux-ci sont vides). Rajouts personnels \u00e0 la fin du fichier fdauto.bat (= autoexec.bat) : edit fdauto.bat REM *** OPEN WATCOM 1.9 *** PATH C:\\WATCOM\\BINW;%PATH% SET INCLUDE=C:\\WATCOM\\H SET WATCOM=C:\\WATCOM SET EDPATH=C:\\WATCOM\\EDDAT SET &hellip; <a href=\"https:\/\/entropie.org\/3615\/index.php\/2021\/09\/12\/installation-de-open-watcom-c-c-dans-freedos\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Installation de Open Watcom C\/C++ dans FreeDOS&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,28,5],"tags":[],"class_list":["post-4946","post","type-post","status-publish","format-standard","hentry","category-dos","category-installation","category-tutoriels"],"_links":{"self":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/4946"}],"collection":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/comments?post=4946"}],"version-history":[{"count":22,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/4946\/revisions"}],"predecessor-version":[{"id":7340,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/4946\/revisions\/7340"}],"wp:attachment":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/media?parent=4946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/categories?post=4946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/tags?post=4946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}