Beginner in RTEMS - Please Help

Ralf Corsepius corsepiu at faw.uni-ulm.de
Sat Jul 26 02:43:54 UTC 2003


On Fri, 2003-07-25 at 22:52, Chris Caudle wrote:
> On Fri July 25 2003 12:05 pm, you wrote:
> > configure: error: no acceptable cc found in $PATH
> > configure: error: ../../../rtems-4.5.0/c/make/configure failed for make
> > configure: error: ../../../rtems-4.5.0/c/configure failed for C.
> 
> Looks like you don't really have the i386ex toolchain installed.
> Someone more familiar with config errors, does that seem accurate?
Yes, at least very close.

The origin of the problem is hiding in the invocation of configure:

> ../rtems-4.5.0/configure
> --target=i386
  ^^^^^^^^^^^^^
The value passed via --target= is the prefix used for components of the
toolchain.

i.e. --target=i386 will cause the configuration to search for
i386-gcc, i386-as, i386-nm etc.

With a standard RTEMS toolchain, you want to use --target=i386-rtems.

> --disable-posix --disable-tcpip --disable-cxx 
> --enablertemsbsp="i386-rtems"
  ^^^^^^^^^^^^^^^^
--enable-rtemsbsp=i386ex

> --prefix=/opt/rtems 

Ralf





More information about the users mailing list