Hi Franc,

> so I need to add the following in the run script
> build_boot_image "core init ld.lib.so <http://ld.lib.so> test-printf",Is
> it right ? 

Well, when omitting the URL, you are fine. ;-)

> As I am new to Genode, I am not able to locate and run "make test/ldso".
> Actually, I am working base-hw kernel.
> Can some one help me in that ?

The ldso test is located in the libports repository. In order to use it,
you will need to uncomment the corresponding line in your
'<build-dir>/etc/build.conf' file. Note that the test depends on the
libc. To build it, you will need to download the libc. This can be done via

  cd <genode-dir>
  ./tool/ports/prepare_port libc

That said, when I think about it again, doing all these steps just for
silencing the diagnostic message seems a bit too much. Maybe, you would
be better off by creating a new pseudo target that solely depends on the
dynamic linker. Just create a new file at
'repos/base/src/test/dummy/target.mk' with the following content:

  TARGET = test-dummy
  LIBS   = ld

Thereby, you define a new build target what happens to depend on the
dynamic linker because 'ld' is specified for the LIBS declaration. When
building the target via 'make test/dummy', the dynamic linker will be
built. It might be appropriate to append 'test/dummy' to the build step
(the very first line) in the 'printf.run' script.

Cheers
Norman

-- 
Dr.-Ing. Norman Feske
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to