create recipe for ADA library

Pirmin Duss pirmin.duss at gapfruit.com
Fri Jun 1 16:11:58 CEST 2018


Hello all,

I'm trying to create a recipe to build the ADA library as a package
archive [1].
Building the library fails with the following error message:

  Library ada
    COMPILE  a-except_c.o
    COMPILE  gnat_except.o
    COMPILE  s-secsta.o
fatal error, run-time library not installed correctly
cannot locate file system.ads
compilation abandoned
/home/pirmin/GapFruit/genode/repos/base/mk/generic.mk:83: recipe for
target 's-secsta.o' failed
make[6]: *** [s-secsta.o] Error 1
var/libdeps:42: recipe for target 'ada.lib' failed
make[5]: *** [ada.lib] Error 2

system.ads is copied in to the source directory of the depot.

An other point that doesn't look nice currently is the way used to
obtain the location of the port sources [2]. Is there a way to get rid
of the "../ports/" part?

[1] https://github.com/trimpim/genode/tree/adalib_recipe
[2]
https://github.com/trimpim/genode/blob/0d40aa7303aca743dc6270f33ecd3e2a37364b4a/repos/libports/recipes/src/adalib/content.mk#L21

best regards,
Pirmin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.genode.org/pipermail/users/attachments/20180601/be156ffc/attachment.sig>


More information about the users mailing list