0% found this document useful (0 votes)
42 views2 pages

EECS4302 Environment Setup v2

Uploaded by

Pooja Vashisth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views2 pages

EECS4302 Environment Setup v2

Uploaded by

Pooja Vashisth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lab 00: Environment Setup

EECS-4302

Introduction
In this lab, you will learn how to set up the environment for developing
EECS4302 projects remotely on EECS department servers. The setup in-
volves configuring the servers .cshrc file to use as the backend development
environment.
Important: All labs will be graded using the remote lab servers. Your
code must compile and run using the remote servers with the newer version
of the GCC compiler as detailed in this lab manual.

Prerequisites
Before you begin, ensure you have an active remotelab EECS account. For
more information and setup tips, visit the RemoteLab Quick Start & FAQ
page.

While it’s possible to set up a local environment, please note that all
grading will be done on the remote servers. If you choose to work lo-
cally for practice, ensure your local environment meets the following version
requirements:
flex 2.6.4
bison 3.0.4
make 4.2.1
gcc 12.3.0

1
Remote Development Setup
1. Visit the Remote Lab website and log in with your EECS account
credentials.
2. Choose a remote desktop and once connected, open the terminal.
3. Edit the .cshrc file located in your home directory using the following
command:
nano ~/.cshrc

4. Modify the PATH variable to prepend the new GCC location by adding
the following line immediately after the initial setenv PATH line:
setenv PATH /eecs/local/pkg/gcc-12.3.0/bin:$PATH

5. Save the changes by pressing Ctrl + O, then press Enter to confirm.


To exit nano, press Ctrl + X.
6. Apply the changes by running the following command in the terminal:
source ~/.cshrc

7. Verify the GCC version (12.3.0) to ensure the correct setup by running:
gcc --version

Troubleshooting
If you encounter issues while working in the remote lab environment, consult
the Remote Lab Quick Start & FAQ page or contact support for assistance.

Conclusion
By following these steps, you will successfully set up the environment for
EECS4302 projects on EECS department servers. This setup will enable you
to develop your projects remotely using the EECS servers as your backend
development environment.

You might also like