Help with RTEMS

Tanu Hari Dixit tokencolour at gmail.com
Tue Dec 13 19:19:36 UTC 2016


I did "find . -name ticker.exe" from
/development/rtems/src/b-sis/testsuites/tools/generic but couldn't
find the executable.
I did a make clean, as you suggested, and then a make. Got the
following output. I couldn't find an executable mentioned.


thd at thd-Inspiron-5537:~/development/rtems/src/b-sis$ make
Making all in tools/build
make[1]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/build'
make  all-am
make[2]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/build'
gcc -DHAVE_CONFIG_H -I. -I../../../rtems/tools/build     -g -O2 -MT
cklength.o -MD -MP -MF .deps/cklength.Tpo -c -o cklength.o
../../../rtems/tools/build/cklength.c
mv -f .deps/cklength.Tpo .deps/cklength.Po
gcc  -g -O2   -o cklength cklength.o
gcc -DHAVE_CONFIG_H -I. -I../../../rtems/tools/build     -g -O2 -MT
eolstrip.o -MD -MP -MF .deps/eolstrip.Tpo -c -o eolstrip.o
../../../rtems/tools/build/eolstrip.c
mv -f .deps/eolstrip.Tpo .deps/eolstrip.Po
gcc -DHAVE_CONFIG_H -I. -I../../../rtems/tools/build     -g -O2 -MT
compat.o -MD -MP -MF .deps/compat.Tpo -c -o compat.o
../../../rtems/tools/build/compat.c
mv -f .deps/compat.Tpo .deps/compat.Po
gcc  -g -O2   -o eolstrip eolstrip.o compat.o
gcc -DHAVE_CONFIG_H -I. -I../../../rtems/tools/build     -g -O2 -MT
packhex.o -MD -MP -MF .deps/packhex.Tpo -c -o packhex.o
../../../rtems/tools/build/packhex.c
mv -f .deps/packhex.Tpo .deps/packhex.Po
gcc  -g -O2   -o packhex packhex.o
gcc -DHAVE_CONFIG_H -I. -I../../../rtems/tools/build     -g -O2 -MT
unhex.o -MD -MP -MF .deps/unhex.Tpo -c -o unhex.o
../../../rtems/tools/build/unhex.c
mv -f .deps/unhex.Tpo .deps/unhex.Po
gcc  -g -O2   -o unhex unhex.o compat.o
gcc -DHAVE_CONFIG_H -I. -I../../../rtems/tools/build     -g -O2 -MT
rtems-bin2c.o -MD -MP -MF .deps/rtems-bin2c.Tpo -c -o rtems-bin2c.o
../../../rtems/tools/build/rtems-bin2c.c
mv -f .deps/rtems-bin2c.Tpo .deps/rtems-bin2c.Po
gcc  -g -O2   -o rtems-bin2c rtems-bin2c.o compat.o
make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/build'
make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/build'
Making all in tools/cpu
make[1]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
Making all in generic
make[2]: Entering directory
`/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
make[2]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
Making all in testsuites/tools
make[1]: Entering directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
Making all in generic
make[2]: Entering directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
make[2]: Entering directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/thd/development/
rtems/src/b-sis/testsuites/tools'
make[1]: Leaving directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
Making all in sparc-rtems4.12/c
make[1]: Entering directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
Making all in .
make[2]: Entering directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
make[1]: Leaving directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
make[1]: Entering directory `/home/thd/development/rtems/src/b-sis'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis'




thd at thd-Inspiron-5537:~/development/rtems/src/b-sis$ make install
Making install in tools/build
make[1]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/build'
make[2]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/build'
 /bin/mkdir -p '/home/thd/install_path/bin'
  /usr/bin/install -c cklength eolstrip packhex unhex rtems-bin2c
'/home/thd/install_path/bin'
 /bin/mkdir -p '/home/thd/install_path/bin'
 /usr/bin/install -c install-if-change '/home/thd/install_path/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/build'
make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/build'
Making install in tools/cpu
make[1]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
Making install in generic
make[2]: Entering directory
`/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
make[3]: Entering directory
`/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
make[2]: Leaving directory
`/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
make[2]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
make[3]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
Making install in testsuites/tools
make[1]: Entering directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
Making install in generic
make[2]: Entering directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
make[3]: Entering directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
 /bin/mkdir -p '/home/thd/install_path/bin'
 /usr/bin/install -c difftest
'/home/thd/install_path/bin/./sparc-rtems4.12-difftest'
 /usr/bin/install -c sorttimes
'/home/thd/install_path/bin/./sparc-rtems4.12-sorttimes'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
make[2]: Leaving directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
make[2]: Entering directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
make[3]: Entering directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
make[2]: Leaving directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
make[1]: Leaving directory
`/home/thd/development/rtems/src/b-sis/testsuites/tools'
Making install in sparc-rtems4.12/c
make[1]: Entering directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
Making install in .
make[2]: Entering directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
make[3]: Entering directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
make[2]: Leaving directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
make[1]: Leaving directory
`/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
make[1]: Entering directory `/home/thd/development/rtems/src/b-sis'
make[2]: Entering directory `/home/thd/development/rtems/src/b-sis'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/home/thd/install_path/make'
 /usr/bin/install -c -m 644 ../rtems/make/main.cfg
../rtems/make/leaf.cfg '/home/thd/install_path/make'
 /bin/mkdir -p '/home/thd/install_path/share/rtems4.12/make/Templates'
 /usr/bin/install -c -m 644 ../rtems/make/Templates/Makefile.dir
../rtems/make/Templates/Makefile.leaf
../rtems/make/Templates/Makefile.lib
'/home/thd/install_path/share/rtems4.12/make/Templates'
 /bin/mkdir -p '/home/thd/install_path/make/custom'
 /usr/bin/install -c -m 644 ../rtems/make/custom/default.cfg
'/home/thd/install_path/make/custom'
make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis'
make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis'

On Wed, Dec 14, 2016 at 12:29 AM, Jennifer Averett
<Jennifer.Averett at oarcorp.com> wrote:
> This isn't showing it building samples.  Either it thinks its already done
> in which case if you do "find . -name ticker.exe" from the generic directory
> you will see the executable.  If it isn't there do a "make clean" and then a make
> and let me see those results.  The make file should show it building
> the exe's in samples.  Its been a while since I did a rtems build so
> I'm probably missing something obvious.
>
> Jennifer Averett
> On-Line Applications Research
> ________________________________________
> From: Tanu Hari Dixit [tokencolour at gmail.com]
> Sent: Tuesday, December 13, 2016 12:47 PM
> To: Jennifer Averett
> Subject: Re: Help with RTEMS
>
> Hey Jennifer,
> Thanks for helping me out.
> /home/thd/development/rtems/src/b-sis/testsuites/tools/generic holds
> the following files:
>
> config.log
> config.status
> difftest
> Makefile
> sorttimes
>
> Here is the output of make (and make installl). It seems make finishes
> without an error.
> thd at thd-Inspiron-5537:~/development/rtems/src/b-sis$ make
> Making all in tools/build
> make[1]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/build'
> make  all-am
> make[2]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/build'
> make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/build'
> make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/build'
> Making all in tools/cpu
> make[1]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> Making all in generic
> make[2]: Entering directory
> `/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
> make[2]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> Making all in testsuites/tools
> make[1]: Entering directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> Making all in generic
> make[2]: Entering directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
> make[2]: Entering directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> make[1]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> Making all in sparc-rtems4.12/c
> make[1]: Entering directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> Making all in .
> make[2]: Entering directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> make[1]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> make[1]: Entering directory `/home/thd/development/rtems/src/b-sis'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis'
>
>
>
> thd at thd-Inspiron-5537:~/development/rtems/src/b-sis$ make install
> Making install in tools/build
> make[1]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/build'
> make[2]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/build'
>  /bin/mkdir -p '/home/thd/install_path/bin'
>   /usr/bin/install -c cklength eolstrip packhex unhex rtems-bin2c
> '/home/thd/install_path/bin'
>  /bin/mkdir -p '/home/thd/install_path/bin'
>  /usr/bin/install -c install-if-change '/home/thd/install_path/bin'
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/build'
> make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/build'
> Making install in tools/cpu
> make[1]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> Making install in generic
> make[2]: Entering directory
> `/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
> make[3]: Entering directory
> `/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
> make[2]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/tools/cpu/generic'
> make[2]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> make[3]: Entering directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis/tools/cpu'
> Making install in testsuites/tools
> make[1]: Entering directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> Making install in generic
> make[2]: Entering directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
> make[3]: Entering directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
>  /bin/mkdir -p '/home/thd/install_path/bin'
>  /usr/bin/install -c difftest
> '/home/thd/install_path/bin/./sparc-rtems4.12-difftest'
>  /usr/bin/install -c sorttimes
> '/home/thd/install_path/bin/./sparc-rtems4.12-sorttimes'
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
> make[2]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools/generic'
> make[2]: Entering directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> make[3]: Entering directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> make[2]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> make[1]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/testsuites/tools'
> Making install in sparc-rtems4.12/c
> make[1]: Entering directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> Making install in .
> make[2]: Entering directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> make[3]: Entering directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> make[2]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> make[1]: Leaving directory
> `/home/thd/development/rtems/src/b-sis/sparc-rtems4.12/c'
> make[1]: Entering directory `/home/thd/development/rtems/src/b-sis'
> make[2]: Entering directory `/home/thd/development/rtems/src/b-sis'
> make[2]: Nothing to be done for `install-exec-am'.
>  /bin/mkdir -p '/home/thd/install_path/make'
>  /usr/bin/install -c -m 644 ../rtems/make/main.cfg
> ../rtems/make/leaf.cfg '/home/thd/install_path/make'
>  /bin/mkdir -p '/home/thd/install_path/share/rtems4.12/make/Templates'
>  /usr/bin/install -c -m 644 ../rtems/make/Templates/Makefile.dir
> ../rtems/make/Templates/Makefile.leaf
> ../rtems/make/Templates/Makefile.lib
> '/home/thd/install_path/share/rtems4.12/make/Templates'
>  /bin/mkdir -p '/home/thd/install_path/make/custom'
>  /usr/bin/install -c -m 644 ../rtems/make/custom/default.cfg
> '/home/thd/install_path/make/custom'
> make[2]: Leaving directory `/home/thd/development/rtems/src/b-sis'
> make[1]: Leaving directory `/home/thd/development/rtems/src/b-sis'
>
> On Wed, Dec 14, 2016 at 12:07 AM, Jennifer Averett
> <Jennifer.Averett at oarcorp.com> wrote:
>> Looks like configure worked, if I'm reading correctly your
>> build tree is in
>> /home/thd/development/rtems/src/b-sis/testsuites/tools/generic
>> the exe's should be in the tree under this directory after you run
>> make from this location if the make doesn't encounter an error.
>> After the "make install" command the appropriate headers and
>> libraries will be installed under  the install_point directory.
>> Are you sure make is finishing without an error?
>>
>>
>> Jennifer Averett
>> On-Line Applications Research
>> ________________________________________
>> From: Tanu Hari Dixit [tokencolour at gmail.com]
>> Sent: Tuesday, December 13, 2016 12:06 PM
>> To: Jennifer Averett
>> Subject: Re: Help with RTEMS
>>
>> Hey Jennifer,
>> Here is the output of the configure command.
>>
>>
>> thd at thd-Inspiron-5537:~/development/rtems/src/b-sis$
>> ../rtems/configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis
>> --enable-tests=samples --prefix=${HOME}/install_path
>> checking for gmake... no
>> checking for make... make
>> checking for RTEMS Version... 4.11.99.0
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-pc-linux-gnu
>> checking target system type... sparc-unknown-rtems4.11
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> configure: configuring in ./tools/build
>> configure: running /bin/bash '../../../rtems/tools/build/configure'
>> '--prefix=/home/thd/install_path' '--host=x86_64-pc-linux-gnu'
>> '--build=x86_64-pc-linux-gnu'  '--enable-rtemsbsp=sis'
>> '--enable-tests=samples' '--target=sparc-rtems4.11'
>> '--cache-file=/dev/null' '--srcdir=../../../rtems/tools/build'
>> checking for gmake... no
>> checking for make... make
>> checking for RTEMS Version... 4.11.99.0
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-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... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking for x86_64-pc-linux-gnu-gcc... no
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking for style of include used by make... GNU
>> checking dependency style of gcc... gcc3
>> checking how to run the C preprocessor... gcc -E
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -E
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking getopt.h usability... yes
>> checking getopt.h presence... yes
>> checking for getopt.h... yes
>> checking libgen.h usability... yes
>> checking libgen.h presence... yes
>> checking for libgen.h... yes
>> checking for strerror... yes
>> checking for strtol... yes
>> checking for basename... yes
>> checking for strnlen... yes
>> checking for bash... /bin/bash
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating install-if-change
>> config.status: creating config.h
>> config.status: config.h is unchanged
>> config.status: executing depfiles commands
>> configure: configuring in ./tools/cpu
>> configure: running /bin/bash '../../../rtems/tools/cpu/configure'
>> '--prefix=/home/thd/install_path' '--host=x86_64-pc-linux-gnu'
>> '--build=x86_64-pc-linux-gnu'  '--enable-rtemsbsp=sis'
>> '--enable-tests=samples' '--target=sparc-rtems4.11'
>> '--cache-file=/dev/null' '--srcdir=../../../rtems/tools/cpu'
>> checking for gmake... no
>> checking for make... make
>> checking for RTEMS Version... 4.11.99.0
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-pc-linux-gnu
>> checking target system type... sparc-unknown-rtems4.11
>> checking rtems target cpu... sparc
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking for bash... /bin/bash
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> config.status: creating Makefile
>> === configuring in generic
>> (/home/thd/development/rtems/src/b-sis/tools/cpu/generic)
>> configure: running /bin/bash
>> ../../../../rtems/tools/cpu/generic/configure
>> --disable-option-checking '--prefix=/home/thd/install_path'
>> '--host=x86_64-pc-linux-gnu' '--build=x86_64-pc-linux-gnu'
>> '--enable-rtemsbsp=sis' '--enable-tests=samples'
>> '--target=sparc-rtems4.11' 'build_alias=x86_64-pc-linux-gnu'
>> 'host_alias=x86_64-pc-linux-gnu' 'target_alias=sparc-rtems4.11'
>> --cache-file=/dev/null --srcdir=../../../../rtems/tools/cpu/generic
>> checking for gmake... no
>> checking for make... make
>> checking for RTEMS Version... 4.11.99.0
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-pc-linux-gnu
>> checking target system type... sparc-unknown-rtems4.11
>> checking rtems target cpu... sparc
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking for bash... /bin/bash
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating size_rtems
>> configure: configuring in ./testsuites/tools
>> configure: running /bin/bash
>> '../../../rtems/testsuites/tools/configure'
>> '--prefix=/home/thd/install_path' '--host=x86_64-pc-linux-gnu'
>> '--build=x86_64-pc-linux-gnu'  '--enable-rtemsbsp=sis'
>> '--enable-tests=samples' '--target=sparc-rtems4.11'
>> '--cache-file=/dev/null' '--srcdir=../../../rtems/testsuites/tools'
>> checking for gmake... no
>> checking for make... make
>> checking for RTEMS Version... 4.11.99.0
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-pc-linux-gnu
>> checking target system type... sparc-unknown-rtems4.11
>> checking rtems target cpu... sparc
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> config.status: creating Makefile
>> === configuring in generic
>> (/home/thd/development/rtems/src/b-sis/testsuites/tools/generic)
>> configure: running /bin/bash
>> ../../../../rtems/testsuites/tools/generic/configure
>> --disable-option-checking '--prefix=/home/thd/install_path'
>> '--host=x86_64-pc-linux-gnu' '--build=x86_64-pc-linux-gnu'
>> '--enable-rtemsbsp=sis' '--enable-tests=samples'
>> '--target=sparc-rtems4.11' 'build_alias=x86_64-pc-linux-gnu'
>> 'host_alias=x86_64-pc-linux-gnu' 'target_alias=sparc-rtems4.11'
>> --cache-file=/dev/null
>> --srcdir=../../../../rtems/testsuites/tools/generic
>> checking for gmake... no
>> checking for make... make
>> checking for RTEMS Version... 4.11.99.0
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... x86_64-pc-linux-gnu
>> checking target system type... sparc-unknown-rtems4.11
>> checking rtems target cpu... sparc
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking for bash... /bin/bash
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating difftest
>> config.status: creating sorttimes
>> configure: configuring in sparc-rtems4.11/c
>> configure: running /bin/bash '../../../rtems/c/configure'
>> '--prefix=/home/thd/install_path' '--host=sparc-rtems4.11'
>> '--build=x86_64-pc-linux-gnu' '--target=sparc-rtems4.11'
>> '--enable-rtemsbsp=sis' '--enable-tests=samples'
>> '--with-target-subdir=sparc-rtems4.11'
>> '--exec-prefix=/home/thd/install_path/sparc-rtems4.11'
>> '--includedir=/home/thd/install_path/sparc-rtems4.11/include'
>> '--cache-file=/dev/null' '--srcdir=../../../rtems/c'
>> checking for gmake... no
>> checking for make... make
>> checking for RTEMS Version... 4.11.99.0
>> checking build system type... x86_64-pc-linux-gnu
>> checking host system type... sparc-unknown-rtems4.11
>> checking target system type... sparc-unknown-rtems4.11
>> checking rtems target cpu... sparc
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for sparc-rtems4.11-strip... no
>> checking for strip... strip
>> configure: WARNING: using cross tools not prefixed with host triplet
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating Makefile
>>
>> On Tue, Dec 13, 2016 at 10:17 PM, Jennifer Averett
>> <Jennifer.Averett at oarcorp.com> wrote:
>>> Sorry, if  I'm remembering correctly the exe's will be in the
>>> build tree which is the directory you were at when you ran the
>>> configure command.  Can you capture the configure output
>>> and post it?
>>>
>>> Jennifer Averett
>>> On-Line Applications Research
>>> ________________________________________
>>> From: Tanu Hari Dixit [tokencolour at gmail.com]
>>> Sent: Tuesday, December 13, 2016 10:18 AM
>>> To: Jennifer Averett
>>> Cc: devel-request at rtems.org; users at rtems.org
>>> Subject: Re: Help with RTEMS
>>>
>>> Hey Jennifer,
>>> Thank you for your reply. I did look into /install_path.
>>> Here is what the folder install_path holds, after configuring.
>>> thd at thd-Inspiron-5537:~/install_path$ tree  ./
>>> ./
>>> |-- bin
>>> |   |-- cklength
>>> |   |-- eolstrip
>>> |   |-- install-if-change
>>> |   |-- packhex
>>> |   |-- rtems-bin2c
>>> |   |-- sparc-rtems4.12-difftest
>>> |   |-- sparc-rtems4.12-sorttimes
>>> |   `-- unhex
>>> |-- make
>>> |   |-- custom
>>> |   |   `-- default.cfg
>>> |   |-- leaf.cfg
>>> |   `-- main.cfg
>>> `-- share
>>>     `-- rtems4.12
>>>         `-- make
>>>             `-- Templates
>>>                 |-- Makefile.dir
>>>                 |-- Makefile.leaf
>>>                 `-- Makefile.lib
>>>
>>> 7 directories, 14 files
>>>
>>> It does not have the sample executables.
>>>
>>> Tanu Hari Dixit.
>>>
>>> On Tue, Dec 13, 2016 at 9:20 PM, Jennifer Averett
>>> <Jennifer.Averett at oarcorp.com> wrote:
>>>> This may not be the issue but if you used  exactly "--prefix=${HOME}/install_path" in the configure
>>>> did you look in the directory "${HOME}/install_path"?
>>>>
>>>> Jennifer Averett
>>>> On-Line Applications Research
>>>> ________________________________________
>>>> From: devel [devel-bounces at rtems.org] On Behalf Of Tanu Hari Dixit [tokencolour at gmail.com]
>>>> Sent: Tuesday, December 13, 2016 9:47 AM
>>>> To: punit vara
>>>> Cc: users at rtems.org; devel at rtems.org
>>>> Subject: Re: Help with RTEMS
>>>>
>>>> Hey Punit,
>>>>
>>>> Thank you for your reply and pointing to the open projects.
>>>> The problem is I don't have "testsuites" folder in
>>>> /development/rtems/src/b-sis/sparc-rtems4.12/c. I'm still unable to
>>>> find the executables. I can't seem to figure out where the "samples"
>>>> folder is located. As I had mentioned in my previous mail, there are
>>>> samples in the rtems source directory
>>>> (/development/rtems/src/rtems/testsuites/samples/ticker) but I don't
>>>> know as to how to specify to test those samples with the configure
>>>> command.
>>>>
>>>> Thank you,
>>>> Tanu Hari Dixit.
>>>>
>>>> On Tue, Dec 13, 2016 at 7:32 PM, punit vara <punitvara at gmail.com> wrote:
>>>>>
>>>>> Hi Tanu,
>>>>>
>>>>>
>>>>> https://github.com/RTEMS/rtems
>>>>>
>>>>> You can follow any of following open ideas to get contribute :
>>>>>
>>>>> https://devel.rtems.org/wiki/Developer/OpenProjects
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Dec 13, 2016 at 11:40 AM, Tanu Hari Dixit <tokencolour at gmail.com> wrote:
>>>>> > Hey Punit,
>>>>> >
>>>>> > I am Tanu, here. I am an undergraduate student from IIT BHU studying
>>>>> > electronics engineering. I wanted to contribute to RTEMS, and in a useful
>>>>> > way so that the devs consider me for GSoC '17. I wanted to know how did you
>>>>> > fill the gaps when you started with RTOS. I've not even done my bachelor
>>>>> > yet, am I too early to start with any real time implementation of an OS? I'm
>>>>>
>>>>> There is always something we can contribute to open source project.
>>>>>
>>>>> > facing trouble while finding exe files in the prefix and have mailed on the
>>>>> > users list. (I did that yesterday). Can you please help me with it?
>>>>> > I have included the mail I sent on the users list:
>>>>>
>>>>> Its better you ask question on dev list rather than user list.
>>>>>
>>>>> >
>>>>> > Hello Devs!
>>>>> >
>>>>> > I followed the instructions given in the Getting started guide
>>>>> > (https://devel.rtems.org/wiki/GSoC/GettingStarted) and
>>>>> > (https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start). The latter
>>>>> > says that when I bootstrap and then make and make install, I should
>>>>> > find sample executables in a path similar to:
>>>>> >
>>>>> > "/home2/work/joel/rtems-4.11-work/build/build-sparc-sis-rtems/
>>>>> > sparc-rtems4.11/c/sis/testsuites/samples/ticker/ticker.exe"
>>>>> >
>>>>> That's Joel's directory structure. But I would say you must have
>>>>> created directory named b-sis right ?
>>>>>
>>>>> You can see .exe file in path something like
>>>>>
>>>>> b-sis/sparc-rtems4.12/c/../testsuites/samples/hello
>>>>>
>>>>> > I am unable to find exe files in my working directory (not even in the
>>>>> > prefix).
>>>>> > My tree is the following:
>>>>> > /development/rtems/src/b-sis
>>>>> > ./
>>>>> > |-- sparc-rtems4.12
>>>>> > |   `-- c
>>>>> > |-- testsuites
>>>>> > |   `-- tools
>>>>> > |       `-- generic
>>>>> > `-- tools
>>>>> >     |-- build
>>>>> >     `-- cpu
>>>>> >         `-- generic
>>>>> > and sparc-rtems4.12/c/ has 3 files config.log,  config.status,  Makefile
>>>>> > and the directory testsuites(shown in the above tree) has no samples.
>>>>> > There are samples in the rtems source directory, though
>>>>> > (/development/rtems/src/rtems/testsuites/samples/ticker) but I'm
>>>>> > clueless as to how to specify to test those samples. The configure
>>>>> > command :
>>>>> >
>>>>> > /rtems/configure --target=sparc-rtems4.12 --enable-rtemsbsp=sis \
>>>>> >   --enable-tests=samples --prefix=${HOME}/install_path
>>>>> >
>>>>> > specifies to enable tests on "samples" which I'm unable to find. How
>>>>> > do I successfully run a test? Is there a mistake I did while building
>>>>> > RTEMS or the RSB? Kindly help me figure this out.
>>>>> >
>>>>> > Thank you so much!
>>>>> > Tanu Hari Dixit,
>>>>> > Senior Undergraduate,
>>>>> > Department of Electronics Engineering,
>>>>> > IIT BHU.
>>>>> >
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel at rtems.org
>>>> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list