building RTEMS
Ralf Corsepius
ralf.corsepius at rtems.org
Tue Mar 12 01:11:11 UTC 2013
On 03/12/2013 01:50 AM, Bucher Fabio wrote:
> Hi
>
> I hope you are not to unnerved because of me. I took the toolset 4.10 and installed them, so it created a directory /opt/rtems-4.10.
> The next step is to untar the RTEMS Source (rtems-4.10.2.tar.bz2). Now I am a little confused, because in the getting startet on-line library it said: "unpack the rtems source into the tools directory", but there is no such directory. So i unpacked it into /opt.
>
> Now I have a rtems-4.10 and a rtems-4.10.2 directory in /opt.
>
> Then I did: export PATH=/opt/rtems-4.10/bin:$PATH
>
> I can run the test programm in the terminal: sparc-rtems-gcc -v S f.c and the other one too, it works.
>
> Now I followed the next step: : ./bootstrap (in the rtems-4.10.2 directory), it didnt work (Error Message: couldnt find the commando aclocal, automake and autoconf).
>
> In a new directory (build-rtems): ../rtems-4.10.2/configure --target=sparc-rtems4.10 --enable-rtemsbsp=sis --enable-tests=samples --disable-posix [options from the quick start]
> gave me the error message:
>
> checking for gmake... gmake
> checking for RTEMS Version... 4.10.2
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... sparc-unknown-rtems4.10
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether gmake sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> configure: creating ./config.status
> configure: configuring in ./tools/build
> configure: running /bin/sh '../../../rtems-4.10.2/tools/build/configure' '--prefix=/opt/rtems-4.10' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--enable-rtemsbsp=sis' '--enable-tests=samples' '--disable-posix' '--target=sparc-rtems4.10' '--cache-file=/dev/null' '--srcdir=../../../rtems-4.10.2/tools/build'
> checking for gmake... gmake
> checking for RTEMS Version... 4.10.2
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether gmake sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for i686-pc-linux-gnu-gcc... no
> checking for gcc... no
Here ^^^^^^^^^
=> You don't have a native c-compiler installed.
RTEMS requires a native compiler installed to be able to build it.
> checking for i686-pc-linux-gnu-cc... no
> checking for cc... no
> checking for i686-pc-linux-gnu-cl.exe... no
> checking for cl.exe... no
> configure: error: in `/opt/b-sis/tools/build':
> configure: error: no acceptable C compiler found in $PATH
> See `config.log' for more details
> configure: error: /bin/sh '../../../rtems-4.10.2/tools/build/configure' failed for tools/build
>
> Where in this process is my mistake?
Which OS are you on?
Ralf
More information about the users
mailing list