Moxa Technologies W311 Computer Hardware User Manual


 
ThinkCore W311/321/341 Linux User’s Manual Tool Chains for Application Development
5-4
Windows Tool Chain
The Windows tool chain is a cross development environment that simulates the Linux root file
system, allowing users to develop applications in a Windows PC environment. The following
figure shows an example of what the tool chain looks like.
/
Your group is currently “mkpasswd”. This indicates that
The /etc/passwd (and possibly /etc/group) files should be rebuil
See the man pages for mkpasswd and mkgroup then, for example, ru
mkpasswd –l [-d] > /etc/passwd
mkpasswd –l [-d] > /etc/group
Note that the –d switch is necessary for domain users.
stephen_lin@abc-06d82fcbf1a /
$ ls –al
total 9
drwxr—xr-x 8 stephen_ mkpasswd 0 Jan 10 17:24 .
drwxr—xr-x 8 stephen_ mkpasswd 0 Jan 10 17:24 ..
drwxr—xr-x 2 stephen_ mkpasswd 0 Jan 10 19:48 bin
drwxr—xr-x 7 stephen_ mkpasswd 0 Jan 10 19:24 etc
-rw-r--r-- 1 stephen_ mkpasswd 3262 Jan 10 22:03 insight.ico
drwxr—xr-x 5 stephen_ mkpasswd 0 Jan 10 19:48 lib
-rwxr—xr-x 1 stephen_ mkpasswd 53 Jan 10 22:03 moxa.bat
-rw-r--r-- 1 stephen_ mkpasswd 3262 Jan 10 22:03 moxa.ico
drwxr—xr-x 2 stephen_ mkpasswd 0 Jan 10 19:48 tmp
drwxr—xr-x 14 stephen_ mkpasswd 0 Jan 10 19:48 usr
drwxr—xr-x 6 stephen_ mkpasswd 0 Jan 10 18:12 var
stephen_lin@abc-06d82fcbf1a /
$ _
System Requirements for Windows Tool Chain
Your Windows OS must satisfy the following requirements.
1. Windows 2000 workstation or Windows XP professional.
2. Minimum of 500 MB of free hard drive space on a single drive.
3. CD-ROM or equivalent.
4. Ethernet capabilty to upload application programs to the target computer.
5. Being able to log on as an administrator.
6. Windows username without spaces.
You will be using a BASH shell window to enter commands. In addition, for editing text files,
such as configuration files, you should use vi editor. Do NOT use WordPad, which could cause
problems when the files are transferred to a bona fide Linux environment.
Steps for Installing Windows Tool Chain
If you have installed the old version of Windows Tool Chain or other Cygwin-related software,
please remove these softwares and then follow the next procedure.