Cygwin Help

From SDCC wiki
Jump to: navigation, search

April 24, 2001

Hi, I will explain the whole installation process:

First, download the latest SDCC Win-Binary from:

  http://www.qsl.net/dl9sec/sdcc_okr/packages/SDCC_V222_preMS_050201.zip

and the appropriate cygwin1.dll (V1.1.7) from:

  http://www.qsl.net/dl9sec/sdcc_okr/packages/cygwin1dll_1V17.zip

Now create the directory structure:

  C:\Usr\local

Extract the content of the file SDCC_V222_preMS_050201.zip (using WinZip
or any other extracting utility that manages ZIP files) into:

  C:\Usr\local

You will get the following directory structure:

  C:\Usr\local
                    \bin
                    \doc
                         \ucsim
                    \etc
                    \lib
                    \share
                         \sdcc
                              \include
                              \lib
                                   \ds390
                                   \large
                                   \small

Extract the content of the file cygwin1dll_1V17.zip into:

  C:\Usr\local\bin

Add the following in the Path:

  C:\Usr\local\bin

If Windows 95/98:

  Start the MS-DOS command prompt. Navigate to the root in order to modify the
  PATH reference in the autoexec.bat file.

  1. Type "edit autoexec.bat" [Enter]

  2. Insert a line and type "PATH=C:\Usr\local\bin;%PATH%"

  3. Save the changes (Alt-F then hit S).

  4. Exit edit. (Alt F then press X).

If Windows NT:

  Add a path reference to the Environment variables:

  1. Using the mouse, right-click on the "My Computer" icon (on your desktop)

     and choose "Properties".

  2. Click on the "Environment" tab.

  3. Click on "Path" in the "System Variables" field.

  4. Highlight the "Path" System variable (bottom).

  5. Click in the "Value" field.

  6. Append the line with ";C:\Usr\local\bin;"

     (exactly 1 semi-colon between references)

  7. Click on the "Set" button.

  8. Click OK (in the "System Properties" window)


If Windows 2000:
  Add a path reference to the Environment variables:

  1. Using the mouse, right-click on the "My Computer" icon (on your desktop)
     and choose "Properties".

  2. Click on the "Advanced" tab.

  3. Click on the "Environment Variables..." button.

  4. Highlight the "Path" System variable (bottom).

  5. Click on the "Edit..." button.

  6. Append the line with ";C:\Usr\local\bin;"

  7. Click OK (in the "Edit System Variables")

  8. Click OK (in the "Environment Variables" window) and click OK
     (in the "System Properties" window)

Create the temporary directory used by SDCC:

  C:\Tmp

Restart the computer

That is it, it should work. Have fun.

Mitja Kukovec
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox