Re: [ada] [patch] gnatlink's order of options interfers with --as-needed

2013-04-19 Thread Matthias Klose
Am 19.04.2013 14:14, schrieb Arnaud Charlet: > Can you clarify what problem you are trying to solve (e.g. by providing > a testcase, explaining what you are doing and you would expect)? from http://bugs.debian.org/680292 Gnatmake calls gcc -shared in a way incompatible with --as-needed. Gprbuild

Re: [ada] [patch] gnatlink's order of options interfers with --as-needed

2013-04-19 Thread Arnaud Charlet
Can you clarify what problem you are trying to solve (e.g. by providing a testcase, explaining what you are doing and you would expect)? Arno

[ada] [patch] gnatlink's order of options interfers with --as-needed

2013-04-19 Thread Matthias Klose
The linux version of Build_Dynamic_Library passes all options and libraries in Options, which end up on the command line before the object files. So it looks like the signature of Build_Dynamic_Library should differentiate between options and libraries. Until it does, use the same approach as don