This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Should the passed command parameters result into the same error messages for a configuration test?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Markus Elfring <Markus dot Elfring at web dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 24 Mar 2013 19:08:24 +0000
- Subject: Re: Should the passed command parameters result into the same error messages for a configuration test?
- References: <51114C3A dot 3030806 at web dot de> <CAH6eHdTtokohy3w2QLxtq+psB-FL0ULPZV5dm_wQm5iYPwhMyw at mail dot gmail dot com> <514F347F dot 1010600 at web dot de> <CAH6eHdTiTrSWKV78TNGK9Yj9Ln7W8nHhnRbNeLu1VNTL+kBqRg at mail dot gmail dot com> <514F459A dot 2060405 at web dot de> <CAH6eHdQ2BqcJ-VVGQ7xDy9p=ANVOZTGE965a3a6WywQZ0eA0KQ at mail dot gmail dot com> <514F4968 dot 6070507 at web dot de> <CAH6eHdSRKUBG5FkxA76k8iNwLzeWNksJ=JDamrLMfttd0UqykQ at mail dot gmail dot com> <514F4D3F dot 4030907 at web dot de>
On 24 March 2013 19:00, Markus Elfring wrote:
>> You are welcome to interpret it however you like, but why not just
>> test what I said instead of arguing?
>
> I tested a few parameter orders. I got different results.
>
> Does the documentation recommend any position for link options relative to the
> source file list on the command line?
See 'man ld' which I quoted earlier.
G++ passes the options through to the linker, so the required ordering
depends on the linker, so it doesn't belong in the GCC documentation.
What part of this are you still struggling with?