Porting code from Windows to Unix

This step-by-step tutorial explains how you can get your code onto the ECE LRC machines from a Windows machine.

  1. Download SSH 3.2.3 from BevoWare website.

  2. Install the downloaded program. This should create two programs namely, Secure Shell Client and Secure Shell File Transfer.

  3. Open the Secure Shell File Transfer program and click on Quick Connect. Enter:

    and press Connect.

  4. Enter your Unix password when asked.

  5. You should be able to drag the files you need to your home directory.

  6. Open the Secure Shell Client program and connect to sunfire using the above procedure.

  7. In order to make the transfered files readable in Unix, you will have to run a program called dos2unix:

    dos2unix <input filename> <output filename>

    Note: The two filenames can be the same.

  8. Now you can compile your code with gcc using the posted instructions.

  9. Please make sure that your program compiles and runs before submitting.