NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Cross Compiler Toolchain on Windows w/o Cygwin

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
RoodRallec



Joined: 06 Sep 2017
Posts: 2

PostPosted: Wed Sep 06, 2017 1:46 pm    Post subject: Cross Compiler Toolchain on Windows w/o Cygwin Reply with quote

Hi Guys,

NetBeans V8.2
Windows 7 Professional

I am trying to set up NetBeans as IDE for an embedded project with a cross compiler (TASKING VX Toolset).
Now I want to include the built toolchain (make) into NetBeans, to be able to run all necessary commands such as make all, clean, debug etc. from within NetBeans.

The toolchain is by design created without dependencies to cygwin and runs fully within the cmd from Windows.

I get the toolchain running within NetBeans, by adjusting the make command for a new "Tool Collection" to the corresponding exe.

Sadly, the toolchain relies on two cmd commands (del and mkdir), which do not work (or work as under cmd) within the cygwin environment NetBeans is providing for the make execution.

Additionally, the toolchain shall still be working when invoked from outside of NetBeans, so changing the makefile itself (especially these two commands) is not really a good option.

Do you know, whether i can configure NetBeans to not use cygwin (/bin/sh) but instead use cmd.exe ?

I want to avoid deleting cygwin files or creating symlinks, as I would like to share the set up IDE including all settings.


Thanks!
RoodRallec

** Edit: Removed Typo **
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 604

PostPosted: Mon Sep 11, 2017 7:05 pm    Post subject: Reply with quote

I think NetBeans can't be used without Cygwin or MSYS (base Unix utils)
Back to top
RoodRallec



Joined: 06 Sep 2017
Posts: 2

PostPosted: Tue Sep 12, 2017 12:38 pm    Post subject: Reply with quote

Ok, thanks for the answer. I will have to use a workaround and call all windows commands with a prepended cmd /C "command", which allows to also execute it within cygwin.

Can be closed I think...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo