How to determine the path and other environment variables during a build in Tornado 2.2
This is my OLD blog. I've copied this post over to my NEW blog at:
http://www.saltycrane.com/blog/2007/02/how-to-determine-path-and-other/
You should be redirected in 2 seconds.
How to determine the path and other environment variables when building a project in Tornado 2.2. I don't have C:\Tornado2.2\host\diab\WIN32\bin in my path, but it looks like the Tornado project facilty adds it to my path. Here is how I figured that out.
- Open notepad.exe and type "set" inside it.
- Save it to "c:\temp\checkenv.bat"
- In Tornado 2.2, in the Workspace window, select the "Builds" tab
- Double-click on one of your projects
- Right-click on the build (e.g. "PPC860diab") and select "Properties..."
- Click on the "C/C++ compiler" tab
- In the "Tool" box, replace "dcc" (or "ccsimpc") with "c:\temp\checkenv.bat"
- Click "OK"
- Right-click on your project or build and select "Build 'xxx.out'" where xxx is your project name
- Your "Build Output" window should now contain a listing of all your environment variables, including the PATH variable.
1 comment:
Nice tip, thanks!
Post a Comment