Re: Changement de nom de l'exe au build...
Stéphane Rivière via Ada-france <[email protected]> Tue, 28 Sep 2021 15:29:21 +0200
| Newsgroups | gmane.comp.lang.ada.france |
|---|---|
| Organization | La Maison |
| Message-ID | <[email protected]> |
Jean-Pierre, Thomas, Stéphane,
Un petit retour...
TEST 1 Common_Linker_Options, -largs est bien passé par défaut car j'ai
bien vu les options passer derrière ld, (-static en l’occurrence)
TEST 2 le "-o" dans "package Linker is"
La manière de faire habituelle. Déjà tenté ça sans succès (le nom ne
change pas). Vérifie à nouveau avec variante au niveau des virgules...
Common_Linker_Options := ("-static", "-o, gnxinstance");
En observant la ligne de commande fabriquée, ça serait plutôt
Common_Linker_Options := ("-static", "-o gnxinstance");
Mais ça ne marche pas non plus...
Test 3 the "gprbuild way" dans "package Builder is"
for Executable ("gnx_instance") use "gnxi";
Direct bon !
Adacore a tout prévu, sauf que je louperai ça dans la doc :)
Merci pour votre aide :)
--
Stéphane Rivière
Ile d'Oléron - France
_______________________________________________
Ada-france mailing list
[email protected]
https://mail.ada-france.org/cgi-bin/mailman/listinfo/ada-france