Andes Workshop

It is currently Thu Mar 28, 2024 6:23 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Build project in DOS (cmd)
PostPosted: Tue Jan 28, 2014 12:14 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
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 8278 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 8277 times ]


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


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Build project in DOS (cmd)
PostPosted: Tue Jan 28, 2014 3:39 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
"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)


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group