new RTEMS user

Ralf Corsepius corsepiu at
Fri Jul 25 16:52:20 UTC 2003

On Fri, 2003-07-25 at 18:35, Ed Sutter wrote:
> Hi,
> I'm brand new to RTEMS.  I'd like to try it out on a PPC405
> board I have.  I just downloaded rtems-4.6.0pre4 and ran
> configure with the following options...
>    --target=powerpc-rtems --disable-itron --program-prefix=ppc-elf-
> I'm hoping to be able to build RTEMS using the CYGWIN X-TOOLS package
> from MicroCross, that's why I add the --program-prefix=ppc-elf-
This probably won't work without major effort.

> Anyway, the "configure" ran through successfully, but when I ran 
> make RTEMS_BSP="gen405" it very quickly told me it could not find 
> "powerpc-rtems-gcc".  I thought that the "--program-prefix=ppc-elf-"
> would deal with this.  Any idea what I may be doing wrong? 
You are misinterpreting --program-prefix.

--program-prefix is the "program-prefix" to be used to prefix programs
when installing them. In general, for example, configuring a package
with --program-prefix=foo- will cause a program "prog" to be installed
as "foo-prog".

For RTEMS --program-prefix is meaningless.

What you actually are looking for is CC_FOR_TARGET 
(cf. configure --help of rtems-4.6pre3).

In your case, you have a chance to getting started with something
similar to this:
configure --target=powerpc-rtems CC_FOR_TARGET=ppc-elf-gcc

Anyway, I would recommend using a powerpc-rtems-toolchain instead.


More information about the users mailing list