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.
- Download SSH Secure Shell 3.2.9 from the BevoWare website.
- Install the downloaded program. This should create two programs namely, Secure Shell Client and Secure Shell File Transfer.
- Open the Secure Shell File Transfer program and click on Quick Connect. Enter:
- Hostname: mario.ece.utexas.edu
- Username: your ece user name
- Profile: leave that alone and press Connect.
- Enter your Unix password when asked.
- You should be able to drag the files you need to your home directory.
- Open the Secure Shell Client program and connect to mario using the above procedure.
- In order to make the transfered files readable in Unix, you will have to run a program called dos2unix:
dos2unix <input filename>
Note: The two filenames can be the same. - Now you can compile your code with gcc using the posted instructions.
- Please make sure that your program compiles and runs before submitting.
Please note that files that compile and run correctly in Windows under Visual Studio may not do so in a Unix environment with gcc. You are responsible for verifying correct functionality of your programs in the Unix environment prior to submission.