How many compilers are there for BREW | developer.brewmp.com How many compilers are there for BREW | developer.brewmp.com

Developer

How many compilers are there for BREW

Hello!

I have recently read some articles, and I am a little confused. As I understod from BREW's website, there are 2 compilers for BREW: the RealView..., and an extension for the gcc.

I heard something about ADS. What is it? Is it another compiler for BREW? Are there others?

Thank you very much.

There are essentially two compiler choices: GNU and ARM.
The ARM compilers (also capable of generating Thumb code - don't know about GNU) are available in two different packages: The RealView Compilation Tools for BREW (RCTB - $1,500 -contains only the compilers, docs, and the linker, not sure if Big Endian code creation is supported for Nokia phones) while ADS (ARM Developer Suite - the latest version is called RealView Developer Suite >= $5,500) contains everything that's in RCTB plus the CodeWarrior IDE, the ability to create libraries, Big Endian capability, etc.
I've heard some say that ARM tools produce a smaller and faster .mod, but I can't say myself since I've done no comparisons.
http://www.arm.com/products/DevTools/software_development.html
There are also other ARM compilers on the market from different vendors - do a google and their names should pop up.

There are essentially two compiler choices: GNU and ARM.
The ARM compilers (also capable of generating Thumb code - don't know about GNU) are available in two different packages: The RealView Compilation Tools for BREW (RCTB - $1,500 -contains only the compilers, docs, and the linker, not sure if Big Endian code creation is supported for Nokia phones) while ADS (ARM Developer Suite - the latest version is called RealView Developer Suite >= $5,500) contains everything that's in RCTB plus the CodeWarrior IDE, the ability to create libraries, Big Endian capability, etc.
I've heard some say that ARM tools produce a smaller and faster .mod, but I can't say myself since I've done no comparisons.
http://www.arm.com/products/DevTools/software_development.html
There are also other ARM compilers on the market from different vendors - do a google and their names should pop up.

I've been trying to find a comparison between the Gnu and RealView compilers regarding speed/code size. Does anyone have a link or experience of working with both?
Matt
p.s. I've just started out with BREW dev and your BREWing with C++ article was very useful, Murray. Thank you!

I've been trying to find a comparison between the Gnu and RealView compilers regarding speed/code size. Does anyone have a link or experience of working with both?
Matt
p.s. I've just started out with BREW dev and your BREWing with C++ article was very useful, Murray. Thank you!

Thanks, Matt. I'm glad you found the article helpful.

Thanks, Matt. I'm glad you found the article helpful.

I found very useful too the article "BREWing with C++". But why is it not listed on the developer.com, where your other 2 tutorials are?
Regarding the other ARM Compilers; can they be used when compiling BREW apps? I guess that it must have acces to the BREW libraries.
Thank you.

I found very useful too the article "BREWing with C++". But why is it not listed on the developer.com, where your other 2 tutorials are?
Regarding the other ARM Compilers; can they be used when compiling BREW apps? I guess that it must have acces to the BREW libraries.
Thank you.

http://www.developer.com/ws/brew/article.php/1548131
(now it is in the archive section)
/kUFa

http://www.developer.com/ws/brew/article.php/1548131
(now it is in the archive section)
/kUFa

http://www.developer.com/ws/brew/
Also at Developer.com, see Aug, Oct, Nov in 2002 BREW archives: http://www.developer.com/ws/brew/archives.php/
Also see http://www.devx.com and search on keywords BREW Bonner and the DevX articles should pop up.
Regarding other BREW compilers, any that are capable of creating instructions for the ARM7TDMI core should be able to successfully compile BREW apps. I HAVEN'T TRIED ANY OF THEM so be sure to get a demo. before you go out and spend a few thousand on any compiler that Qualcomm doesn't support.
Murray

http://www.developer.com/ws/brew/
Also at Developer.com, see Aug, Oct, Nov in 2002 BREW archives: http://www.developer.com/ws/brew/archives.php/
Also see http://www.devx.com and search on keywords BREW Bonner and the DevX articles should pop up.
Regarding other BREW compilers, any that are capable of creating instructions for the ARM7TDMI core should be able to successfully compile BREW apps. I HAVEN'T TRIED ANY OF THEM so be sure to get a demo. before you go out and spend a few thousand on any compiler that Qualcomm doesn't support.
Murray

I personaly use GNUDE (http://gnude.sourceforge.net/) and the qualcomm's gcc extention. It works perfectly for me (c and c++), but havent tried it yet with bigendian..
/kUFa

I personaly use GNUDE (http://gnude.sourceforge.net/) and the qualcomm's gcc extention. It works perfectly for me (c and c++), but havent tried it yet with bigendian..
/kUFa

What is the price of the gcc extension? I guess that gnude is free.
And if you use gnude, can you compile the app into dll to be tested with the BREW Simulator, so that you can eliminate Visual C++ from the developement process?
And another question; what is "big endian"?
Thank you.

What is the price of the gcc extension? I guess that gnude is free.
And if you use gnude, can you compile the app into dll to be tested with the BREW Simulator, so that you can eliminate Visual C++ from the developement process?
And another question; what is "big endian"?
Thank you.

In order to get GCC extension from qualcomm extranet, you need to be authenticated via verisign by paying $400.
Kufa is referring to big endian processor. You can do search in net about big endian processor.
ruben

In order to get GCC extension from qualcomm extranet, you need to be authenticated via verisign by paying $400.
Kufa is referring to big endian processor. You can do search in net about big endian processor.
ruben

Quote:Originally posted by cristis1
And if you use gnude, can you compile the app into dll to be tested with the BREW Simulator, so that you can eliminate Visual C++ from the developement process?
Not with Gnude, since that only builds ARM code (at least that's my understanding). But any compiler that can build Windows DLLs (and I there are versions of GCC that can) should be able to build a DLL that works with the simulator. You would need to look at the souce provided with the SDK and port the Visual C specific stuff the compiler of your choice.

Quote:Originally posted by cristis1
And if you use gnude, can you compile the app into dll to be tested with the BREW Simulator, so that you can eliminate Visual C++ from the developement process?
Not with Gnude, since that only builds ARM code (at least that's my understanding). But any compiler that can build Windows DLLs (and I there are versions of GCC that can) should be able to build a DLL that works with the simulator. You would need to look at the souce provided with the SDK and port the Visual C specific stuff the compiler of your choice.

I've found that ARM compilers produce MODs that are roughly 30% smaller than their GCC equivalents. I have not found ARM to produce significantly faster code, on the other hand.
Example:
beta version of MOD compiled with GCC: 170k.
gold version of MOD, with bug fixes and other stuff -added-, compiled with ADS:
115k.
Didn't compile the gold version of the MOD with GCC, but I'd bet it was 175k or 180k.
All my projects have seen similar benefits.
Anyway, hope that info helps.

I've found that ARM compilers produce MODs that are roughly 30% smaller than their GCC equivalents. I have not found ARM to produce significantly faster code, on the other hand.
Example:
beta version of MOD compiled with GCC: 170k.
gold version of MOD, with bug fixes and other stuff -added-, compiled with ADS:
115k.
Didn't compile the gold version of the MOD with GCC, but I'd bet it was 175k or 180k.
All my projects have seen similar benefits.
Anyway, hope that info helps.