The officially supported ARM compiler for the BREW Applications is ARM'S Real View Suite. It will cost you $1500 per seat for a node locked license. It is strongly recommended that you compile your application with the RVCT before sending it for TBT. However, you can use the free ARM Compliers for development and testing.
Compiling with GNUARM
In this section we`ll see the steps needed to compile your BREW Applciation with GNUARM Compiler. You`ll have to download and install the following tools
1. BREW SDK. The version used is 3.1.2.
2. GNUARM Compiler. The version used is 4.2.0.
4. If you do not have Microsoft Visual Studio installed in your PC. You have to download the NMAKE Make Utility from Microsoft.
Preparing your environment
1. When you install elf2mod, you'll get the elf2mod.x and GCCResolver.c files in the gnu folder. Copy these files to your project directory.
2. If you do not have Microsoft Visual Studio installed in your PC. You`ll have to Copy the NMAKE.EXE and NMAKE.ERR to your project directory.
Modifying the Make file
You can download the sample make file from here. This sample make file compiles the whiteboard example in the BREW SDK. If you cannot download this file leave a comment with your email. I`ll send you the file.
Make sure you have set the GCCHOMEPATH to your GNUARM installation folder and BREW_PATH to your BREW SDK Installation foler.
Executing the make file
Open the windows command prompt. Change the directory to your project directory in this case whiteboard folder in the examples folder of BREW SDK. Execute nmake whiteboard.mak.
Downloading the Mod file
You are all set to execute your BREW Application on the phone. Download the generated whiteboard.mod, whiteboard.bar, whiteboard.mif along with the whiteboard.sig file to your phone into the appropriate directories using BREW AppLoader. Launch your application by selecting the whiteboard icon from the BREW AppManager Menu.
Compiling with other Toolchains
1. Compiling with GNUDE from BREW Forums.
2. Compiling with WINARM from Ward Willat.
7 Responses to "Compiling BREW Application for Phone (GNUARM)"
Hi,
Thanks for excellent info. I am trying to use it and cannot download the sample make file. Can you send it to me? My email address is:
henry@martintechs.com
Thanks again
I'm trying to download the mak file, but I'm failed. Would like to send it to me please? Here my email address nudiar@yahoo.com. Thanks
Thanks for your information. I'm trying to download the makefile, but I can't. Would you please send me a copy of the makefile? My email address is sanchang30273@gmail.com. Thanks!
HI thanks!
Make file please
sriram.iyer86@gmail.com
Hi, thanks a lot for information. But I cannot download your makefile either. Could you please send it on vikta@tut.by ?
For the sample make file. Visit http://brewforums.qualcomm.com/showthread.php?t=16446 and do the changes in the comments.
Hi
I'm trying to download the mak file.but I couldn't download. can u send it to me?
my email address is:
adeshtiwari.20@gmail.com
Post a Comment