corsepiu at faw.uni-ulm.de
Tue Dec 2 08:13:08 UTC 2003
On Tue, 2003-12-02 at 07:26, Chris Sparks wrote:
> Hello Ralf,
> Ralf Corsepius wrote:
> >On Mon, 2003-12-01 at 03:35, Chris Sparks wrote:
> >>It has been quiet on this list for some time now....
> >>I managed to get a half decent Fedora up and running and was going
> >>through instructions to build
> >>RTEMS. I am using the Getting started with the C++ users manual and I
> >>got several errors.
> >>The first was "checking for i386-gcc... no"
> >> which I know I set the path right.
> >Well, though you say so, I doubt it.
> What is strange is that the native gcc is "gcc" not "i386-gcc" and the
> target gcc is "i386-rtems-gcc" so
> I don't know what this "i386-gcc" is.
I don't know what you are doing ;-)
The native C-compiler must be called cc or gcc and must be in $PATH
should tell you if this applies.
> >>The second came from configure, "no acceptable cc found in $PATH
> >>So what is going on here?
> >Make sure to have
> >* the native toolchain installed
> >* the target toolchain installed
> >And to have set up $PATH correctly.
> I have the "/opt/rtems/bin" before all others in my path. Is this wrong?
It depends on which of the RTEMS toolchains you have installed.
It could be one of these:
/opt/rtems/bin (Used until now),
/opt/rtems-4.6/bin (Probably used by the final 4.6-release) or
/opt/rtems-4.7/bin (To be used by future snapshots).
Assuming you want to build i386-rtems, you should have one of
Prepend the */bin to $PATH, that contains the i386-rtems*-gcc you have.
Then configure RTEMS using the string that prefixes the target gcc you have:
If having /opt/rtems/bin/i386-rtems-gcc, the use
configure --target=i386-rtems [options]
If having /opt/rtems-4.6/bin/i386-rtems4.6-gcc, then use
configure --target=i386-rtems4.6 [options]
More information about the users