cs-make.exe? | developer.brewmp.com cs-make.exe? | developer.brewmp.com

Developer

cs-make.exe?

Forums:

Hi Folks -

I have Visual studio 2008, and RVCT 3.1 installed, wondering if I really need to have sourcery? I've not installed it but when attempting to build an app via the brew plugin, I receive a cs-make.exe not found error.

Where can I pick one up? or do I really have to install sourcery?

Thanks
-Harold

I think, ARM Compiler selection in Brew MP Options is codesourcery for you. Are you using codesourcery compiler? If not, Please select the proper compiler.
Go to BrewMP settings (Toolbar)->options->Brew MP->ARM Build->ARM Compiler and select the proper compiler, In your case select RVCT3.1 from the dropdown box.
Thanks,
Mahesh

I think, ARM Compiler selection in Brew MP Options is codesourcery for you. Are you using codesourcery compiler? If not, Please select the proper compiler.
Go to BrewMP settings (Toolbar)->options->Brew MP->ARM Build->ARM Compiler and select the proper compiler, In your case select RVCT3.1 from the dropdown box.
Thanks,
Mahesh

Hi Mahesh
Thanks for the quick response unfortunately that's what I did. In the brew compiler options I can see sourcery; rvct 2:0 rvct 3.0. So I selected 3.0 amd received that error. I'm using the most recen brewmp from the download site (as of 07-28-10)

Hi Mahesh
Thanks for the quick response unfortunately that's what I did. In the brew compiler options I can see sourcery; rvct 2:0 rvct 3.0. So I selected 3.0 amd received that error. I'm using the most recen brewmp from the download site (as of 07-28-10)

I have used RVCT 3.0 to build BREW MP.
However the make file for RVCT does not account for spaces in the RVCT path
Here is a patch
When RVCT 3.0 tools are installed in there default location the build
failed because the command string was not quoted
---
make.d/defines_rvct_common.min | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/make.d/defines_rvct_common.min b/make.d/defines_rvct_common.min
index 6fb864a..e34a8ac 100755
--- a/make.d/defines_rvct_common.min
+++ b/make.d/defines_rvct_common.min
@@ -54,19 +54,19 @@ _BIN = $(if
$(_ARMROOT),$(_ARMROOT)/RVCT/Programs/$(RVCT_VERSION)/$(_VERSION)/wi
_INC = $(if $(_ARMROOT),$(_ARMROOT)/RVCT/Data/$(RVCT_VERSION)/$(_DATAVERSION)/include/windows,$(_ENV_INC))#
_LIB = $(if $(_ARMROOT),$(_ARMROOT)/RVCT/Data/$(RVCT_VERSION)/$(_DATAVERSION)/lib,$(_ENV_LIB))#
-TCC = $(_BIN)tcc# # ARM Thumb 16-bit inst. set
ANSI C compiler
-TCXX = $(_BIN)tcpp# # ARM Thumb 16-bit inst. set C++ compiler
-ARMCC = $(_BIN)armcc# # ARM ARM 32-bit inst. set ANSI
C compiler
-ARMCXX = $(_BIN)armcpp# # ARM ARM 32-bit inst. set ANSI
C compiler
-ASM = $(_BIN)armasm# # ARM assembler
-ARMAR = $(_BIN)armar# # ARM library archiver
-ARMLINK = $(_BIN)armlink# # ARM linker
-FROMELF = $(_BIN)fromelf# # ARM elf twiddler
-ARMINC = $(_INC)# # ARM headers
-ARMLIB = $(_LIB)# # ARM libraries
+TCC = "$(_BIN)tcc"# # ARM Thumb 16-bit inst. set
ANSI C compiler
+TCXX = "$(_BIN)tcpp"# # ARM Thumb 16-bit inst. set
C++ compiler
+ARMCC = "$(_BIN)armcc"# # ARM ARM 32-bit inst. set
ANSI C compiler
+ARMCXX = "$(_BIN)armcpp"# # ARM ARM 32-bit inst. set
ANSI C compiler
+ASM = "$(_BIN)armasm"# # ARM assembler
+ARMAR = "$(_BIN)armar"# # ARM library archiver
+ARMLINK = "$(_BIN)armlink"# # ARM linker
+FROMELF = "$(_BIN)fromelf"# # ARM elf twiddler
+ARMINC = $(_INC)# # ARM headers
+ARMLIB = "$(_LIB)"# # ARM libraries
-CPP = $(ARMCC)# # Preprocessor
-CPP_FLAGS = -E -C# # Need -E for 'preprocess only'
- # and -C to preserve comments
+CPP = "$(ARMCC)"# # Preprocessor
+CPP_FLAGS = -E -C# # Need -E for 'preprocess only'
+ # and -C to preserve comments
-FEZ=$(FROMELF) -z#
+FEZ="$(FROMELF)" -z#
--
1.7.0.4

I have used RVCT 3.0 to build BREW MP.
However the make file for RVCT does not account for spaces in the RVCT path
Here is a patch
When RVCT 3.0 tools are installed in there default location the build
failed because the command string was not quoted
---
make.d/defines_rvct_common.min | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/make.d/defines_rvct_common.min b/make.d/defines_rvct_common.min
index 6fb864a..e34a8ac 100755
--- a/make.d/defines_rvct_common.min
+++ b/make.d/defines_rvct_common.min
@@ -54,19 +54,19 @@ _BIN = $(if
$(_ARMROOT),$(_ARMROOT)/RVCT/Programs/$(RVCT_VERSION)/$(_VERSION)/wi
_INC = $(if $(_ARMROOT),$(_ARMROOT)/RVCT/Data/$(RVCT_VERSION)/$(_DATAVERSION)/include/windows,$(_ENV_INC))#
_LIB = $(if $(_ARMROOT),$(_ARMROOT)/RVCT/Data/$(RVCT_VERSION)/$(_DATAVERSION)/lib,$(_ENV_LIB))#
-TCC = $(_BIN)tcc# # ARM Thumb 16-bit inst. set
ANSI C compiler
-TCXX = $(_BIN)tcpp# # ARM Thumb 16-bit inst. set C++ compiler
-ARMCC = $(_BIN)armcc# # ARM ARM 32-bit inst. set ANSI
C compiler
-ARMCXX = $(_BIN)armcpp# # ARM ARM 32-bit inst. set ANSI
C compiler
-ASM = $(_BIN)armasm# # ARM assembler
-ARMAR = $(_BIN)armar# # ARM library archiver
-ARMLINK = $(_BIN)armlink# # ARM linker
-FROMELF = $(_BIN)fromelf# # ARM elf twiddler
-ARMINC = $(_INC)# # ARM headers
-ARMLIB = $(_LIB)# # ARM libraries
+TCC = "$(_BIN)tcc"# # ARM Thumb 16-bit inst. set
ANSI C compiler
+TCXX = "$(_BIN)tcpp"# # ARM Thumb 16-bit inst. set
C++ compiler
+ARMCC = "$(_BIN)armcc"# # ARM ARM 32-bit inst. set
ANSI C compiler
+ARMCXX = "$(_BIN)armcpp"# # ARM ARM 32-bit inst. set
ANSI C compiler
+ASM = "$(_BIN)armasm"# # ARM assembler
+ARMAR = "$(_BIN)armar"# # ARM library archiver
+ARMLINK = "$(_BIN)armlink"# # ARM linker
+FROMELF = "$(_BIN)fromelf"# # ARM elf twiddler
+ARMINC = $(_INC)# # ARM headers
+ARMLIB = "$(_LIB)"# # ARM libraries
-CPP = $(ARMCC)# # Preprocessor
-CPP_FLAGS = -E -C# # Need -E for 'preprocess only'
- # and -C to preserve comments
+CPP = "$(ARMCC)"# # Preprocessor
+CPP_FLAGS = -E -C# # Need -E for 'preprocess only'
+ # and -C to preserve comments
-FEZ=$(FROMELF) -z#
+FEZ="$(FROMELF)" -z#
--
1.7.0.4