MAS Cygwin
Create a New Project
Launch Cygwin
Initial Cygwin Launch
Download the cygwin 2018 startup executable from any browser:
http://redhat5.ddci.com/Workstation/cygwin-20180401-ddci/setup.exe
Run the downloaded executable to launch the cygwin tool.
Subsequent Launch Cygwin
When the cygwin environment has already been created (e.g. Initial Cygwin Launch), then execute the following BASH command to launch cygwin:
desk_setup
Instructions
Once cygwin has been launched, then follow these steps:
- Select “Next”
- Select “Install from Internet”, and select “Next”
- Root directory: C:\cygwin\europa_stable
- Local Package Directory: C:\cygwin\packages
- Select “Use System Proxy Settings”, and select “Next”
- Choose A Download Site compatible to your environment and select “Next”
- Example for a Europa environment:
http://redhat5.ddci.com/Workstation/cygwin-20180401-ddci-dist-europa
- Example for a Europa environment:
- Choose the packages you want to install. In general, you should refer to the component's
README.txtand/tests/README.txtto determine the list of components you need to install.
Post Installation Instructions
After the cygwin environment has been created via the steps above, then perform the following steps:
- [Optional] Create a folder for your new environment (e.g. europa) and move the short-cuts created from the above steps into this folder. This is an optional but helpful step to reduce the clutter on your desktop.
- Modify the priorities on the "BASH" and "OA" shortcuts that were created:
- Right click the shortcut, and select Properties
- Select "Advanced" button
- Check the "Run as administrator" box, select "OK", and then select "OK" again
NOTE: Changing the priorities to "Run as administrator" will allow you to interact with the target platform from the BASH window and/or the OpenArbor window.
Modifying Cygwin Components After Initial Creation
If you need to modify (add, remove, update, etc) any component after the initial creation, then follow these steps from the BASH window:
- $ desk_setup
- Select “Next”
- Select “Next”
- Confirm that the root directory is correct, and select "Next"
- Confirm that the Local Package Directory is correct, and select "Next"
- Select "Next"
- Confirm that the download site is correct, and select “Next”
At this point, you will get the list of components that have been released since you created your environment (if there are any). At this point, you can manage the packages you want to install in your environment on one of the following pages:
Pending
This is the "main" tab that cygwin starts you on.
To access this page, select the following from the "Select Packages" window:
- View: Pending
- "Best" radio button is selected
- "Test" radio button is NOT selected
Test
This page lists the components that are currently in the "unreleased" state and available for your environment.
To access this page, select the "Test" radio button.
Full
This page lists ALL released components that are available.
To access this page, select the following:
- View: Full
- "Best" radio button is selected
- "Test" radio button is NOT selected
Command Lines for Cygwin
The following section describes the commands that are unique to the cygwin tool.
cygcheck
Display the list of installed components and associated version numbers:
cygcheck –cd
Display information on a single installed package (replace "packageName" with the appropriate package name):
cygcheck –cd | grep packageName
Display the component that a particular file belongs to (replace "fileName.ext" with the appropriate filename):
cygcheck -f `find /desk -name filenName.ext -print`
cygpath
Display the workspace associated with a BASH window:
cygpath -aw /