Build on Linux with ARM? | developer.brewmp.com Build on Linux with ARM? | developer.brewmp.com

Developer

Build on Linux with ARM?

Is it possible to build a brew app on a *Nix platform? Does the ARM compiler tools have a Windows dependency? Furthermore is it possible to run unit tests on a *Nix platform? I ask because I am completely new to Brew and my team is requesting a build server for CI purposes. We have two projects, one that is based on J2ME and the other is based on BREW. I'd hate to ask for a Windows server solely to build our BREW project. Has anyone every run a nightly build for a BREW application before? If so could you explain a little about what's involved? Do you use make or Ant or both? Can somebody explain a little about the tools involved and how the process works? Thanx in advance!

Cliff

cliff76 wrote:Is it possible to build a brew app on a *Nix platform? Does the ARM compiler tools have a Windows dependency? Furthermore is it possible to run unit tests on a *Nix platform? I ask because I am completely new to Brew and my team is requesting a build server for CI purposes. We have two projects, one that is based on J2ME and the other is based on BREW. I'd hate to ask for a Windows server solely to build our BREW project. Has anyone every run a nightly build for a BREW application before? If so could you explain a little about what's involved? Do you use make or Ant or both? Can somebody explain a little about the tools involved and how the process works? Thanx in advance!
Cliff
The full version of the ARM compiler- i.e. RVDS not RVCT for BREW - will run on Linux. As for build system, you can use whatever you want! We use SCons over here.
However, there are other aspects to a BREW build besides compiling code. The tools for converting an elf file to a mod, and compiling resource files are Windows only.
You could always just run a VM...

cliff76 wrote:Is it possible to build a brew app on a *Nix platform? Does the ARM compiler tools have a Windows dependency? Furthermore is it possible to run unit tests on a *Nix platform? I ask because I am completely new to Brew and my team is requesting a build server for CI purposes. We have two projects, one that is based on J2ME and the other is based on BREW. I'd hate to ask for a Windows server solely to build our BREW project. Has anyone every run a nightly build for a BREW application before? If so could you explain a little about what's involved? Do you use make or Ant or both? Can somebody explain a little about the tools involved and how the process works? Thanx in advance!
Cliff
The full version of the ARM compiler- i.e. RVDS not RVCT for BREW - will run on Linux. As for build system, you can use whatever you want! We use SCons over here.
However, there are other aspects to a BREW build besides compiling code. The tools for converting an elf file to a mod, and compiling resource files are Windows only.
You could always just run a VM...

Thanx for the reply. The resource files can probably be checked into source control. (I know, nasty!) But the Elf to mod tool could be a problem. Could the GNU elf to mod be substituted for the RVCT version? Would that make sense? We do have a licences for parallels version 3. Maybe I can experiment with that... Please reply with any other bright ideas. I'm going to commit to some sort of box really soon and I don't wanna screw up!

Thanx for the reply. The resource files can probably be checked into source control. (I know, nasty!) But the Elf to mod tool could be a problem. Could the GNU elf to mod be substituted for the RVCT version? Would that make sense? We do have a licences for parallels version 3. Maybe I can experiment with that... Please reply with any other bright ideas. I'm going to commit to some sort of box really soon and I don't wanna screw up!

Not sure what you mean by the "GNU elf to mod tool". There's a tool called elf2mod that is only available for Windows. It can be used on RVCT ELFs and GCC ELFs. But for RVCT ELFs, you can use the fromelf tool instead, which should come with RVCT and be available for Linux. (Note that you can't use fromelf with GCC ELFs.)
I believe there are also some third-party mod generation tools. Not sure there are Linux ports of those, though. (Edit: Here's one that Windows-only, but maybe you can rebuild it: http://lightblue.tigris.org/lbmg.html)

Not sure what you mean by the "GNU elf to mod tool". There's a tool called elf2mod that is only available for Windows. It can be used on RVCT ELFs and GCC ELFs. But for RVCT ELFs, you can use the fromelf tool instead, which should come with RVCT and be available for Linux. (Note that you can't use fromelf with GCC ELFs.)
I believe there are also some third-party mod generation tools. Not sure there are Linux ports of those, though. (Edit: Here's one that Windows-only, but maybe you can rebuild it: http://lightblue.tigris.org/lbmg.html)