not quite random
nothing in particular







Subscribe to "not quite random" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

jenett.radio.randomizer - click to visit a random Radio weblog - for information, contact randomizer@coolstop.com

Tornado Avoidance, Part 2

This is Part Two of a series of articles on ditching the Tornado IDE and using the individual tools directly. In the first article, we got a real editor set up. This time around, we're going to install a decent toolset: cygwin. Cygwin is a set of UNIX tools and a DLL that provides a translation between POSIX and the Windows API. Installing cygwin will give you a large suite of development tools that will help move your work along.

To get cygwin, go to www.cygwin.com and click the "Download cygwin now" link. Run setup.exe and follow the steps to install on your workstation. There are a large number of packages that are available to install. For now, it will be ok to just accept the default packages -- unless there's a particular tool that you know you're going to need.

If you're unfamiliar with UNIX, I'd recommend getting one of a few good introductions to help you get up to speed [UNIX PowerTools, ORA Bash Nutshell, etc].

The first thing you'll want to do after you get it installed is create a shortcut to bash. To put the shortcut on your desktop, right click, New, Shortcut, and type the location to bash.exe (e.g. c:cygwinbinbash.exe. Hit Next and then Finish. Then right click the shortcut, select properties, and in the target box, add "--login -i" (without the quotes) to the Target box (you want the end result to look like "c:\cygwin\bin\bash.exe --login -i"). Hit OK. Now, double click the shortcut to bring up a shell in a console window.

One quirk you'll need to know about cygwin is that you need to refer to drives and directories in a different way than the Windows standard. First, remember to use slashes instead of backslashes (this is UNIX emulation, after all). Second, refer to drives like this: /cygdrive/c/ (this is the equivalent of c:). Tab completion should be enabled by default -- get used to using this feature, it can save you quite a bit of time.

In the next article, I'll walk through setting up your environment so that you can build your vxWorks image.

comment []


Click here to visit the Radio UserLand website. © Copyright 2003 Brian St. Pierre.
Last update: 1/8/2003; 11:13:30 PM.