How can I compile this?

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Im evaluating an artis micro (www.artismicro.com) sbc-a3000 single processor board (PPC) which runs a version of linux in the embedded rom chip. I need to run a benchmark utility on the board which tests the cpu and the ethernet connection. I found one called ubench however it comes in source code and there is no compiler built into the board so I cant compile it on the board. It appears as if the GCC compiler will not fit onto the board since its approximately 30 megs plus the fact that it also has to be compiled. I also do not have another system running a PowerPC processor on it that I can compile with. Does anyone have any ideas?
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
You should be able to compile the software on a PC and load it onto the SBC: Just make sure you have set the proper software switches / compile-time option of the processor that'll be running it.

For example, it's not unusual to develop an application with C on a PC running Windows or *nix, then dump it into a microcontroller (PIC, Z, AVR, HC1X, etc).

If you check the mfr's site, or Google for some sites, you may find a gcc binary, or at least the correct settings for gcc to produce object code for your SBC.

A PPC SBC huh? I bet it rocks right along....

Good Luck

Scott