Hello,
I wonder if PRJ_TARGET set in Makefile is known from GPR files.
For instance on MacOS specific linking option is not set:

With "make tests":
<...>
gprbind media.bexch
gnatbind media.ali
gcc -c b__media.adb
gcc media.o -o media

With GPS and PRJ_TARGET set to OSX it's ok:
<...>
gprbind media.bexch
gnatbind media.ali
gcc -c b__media.adb
gcc media.o -Wl,-no_pie -o media

So I modified Makefile adding:  -XPRJ_TARGET=${PRJ_TARGET}.

Attachment: patch7.diff
Description: Binary data

And its now ok.
Is it the case with your environment?

Thanks, Pascal.
http://blady.pagesperso-orange.fr


------------------------------------------------------------------------------
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
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to