Andes Workshop
http://forum.andestech.com/

Build project in DOS (cmd)
http://forum.andestech.com/viewtopic.php?f=23&t=792
Page 1 of 1

Author:  cindy [ Tue Jan 28, 2014 12:14 pm ]
Post subject:  Build project in DOS (cmd)

We can build project in AndeSight on cygwin console.

If you need to make project in DOS (MS-DOS Command).
There are GNU tool in DOS.

(1)Download the make in DOS
http://gnuwin32.sourceforge.net/packages/make.htm

Download the utility in DOS
For example: rm. (remove a file)
http://gnuwin32.sourceforge.net/packages/coreutils.htm

(2)Set environment variable path in Windows
Attachment:
windows_path.gif
windows_path.gif [ 22.58 KiB | Viewed 3951 times ]

Add toolchain and make path to path.
D:\Andestech\AndeSight201MCU\toolchains\nds32le-elf-mculib-v3m\bin;D:\Program Files\GnuWin32\bin

(3) build project in cmd (MS-DOS Command)
Enter "make all" in cmd
Attachment:
dos_make.gif
dos_make.gif [ 16.63 KiB | Viewed 3950 times ]


Example code:
Attachment:
20140128.zip [7.49 KiB]
Downloaded 231 times

Author:  cindy [ Tue Jan 28, 2014 3:39 pm ]
Post subject:  Re: Build project in DOS (cmd)

"mkdir -p output" reports a error message.
The mkdir of Linux and Windows are not the same.
Use the mkdir in utilities we downloaded is correct.

Reference: http://stackoverflow.com/questions/9052 ... ux-windows
http://www.baike.com/wiki/MKDIR (Chinese website)

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/