[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2016-10-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2016-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 Vladimir Panteleev changed: What|Removed |Added See Also|

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-09-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #54 from Martin Nowak --- *** Issue 12572 has been marked as a duplicate of this issue. *** --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #49 from Martin Nowak c...@dawg.eu --- Great to see some momentum for this. We also need something like this to select different libs based on m32coff or the installed VC version, see

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #51 from Martin Nowak c...@dawg.eu --- I think requiring a `-confsection` switch limits the usefulness a lot. One reason for the extended ini format is that we can make the linking configurable for certain targets, e.g. m32coff or msvc14

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #53 from Martin Nowak c...@dawg.eu --- (In reply to Martin Nowak from comment #52) We could solve this by always adding -L--as-needed -L-lcurl (which requires libcurl-dev packages) In the meantime LDC took this approach.

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #52 from Martin Nowak c...@dawg.eu --- Sorry for taking over this bug report, none of the dmd.conf enhancements address the original issue. Linking is already fully configurable since we have both the `-defaultlib=` and the `-conf=`

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #50 from Dicebot pub...@dicebot.lv --- Leandro is on (quite long) sick leave right now. I will start poking Walter again about this issue once he is back. --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-06-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #48 from Leandro Lucarella leandro.lucare...@sociomantic.com --- (In reply to Walter Bright from comment #44) How is this then different from just specifying a whole new config file? Because multiple sections can be selected, rather

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|D1 D2 |D2 --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-06-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #44 from Walter Bright bugzi...@digitalmars.com --- How is this then different from just specifying a whole new config file? Because multiple sections can be selected, rather than having a separate config file for each combination of

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-06-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #47 from Walter Bright bugzi...@digitalmars.com --- (In reply to Dicebot from comment #45) Leandro is currently on vacation. I suggest to pause this until he is back. Sure, and meanwhile there's a pull request we can talk about whenever

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-06-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #45 from Dicebot pub...@dicebot.lv --- Leandro is currently on vacation. I suggest to pause this until he is back. --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-06-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #46 from Walter Bright bugzi...@digitalmars.com --- https://github.com/D-Programming-Language/dmd/pull/4713 --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 Dicebot pub...@dicebot.lv changed: What|Removed |Added CC||pub...@dicebot.lv --- Comment #43

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #41 from Walter Bright bugzi...@digitalmars.com --- (In reply to Leandro Lucarella from comment #40) Will -confsection=debug be automatically added when -debug is specified? No. You'll have to add -confsection=debug to have a [debug]

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #40 from Leandro Lucarella leandro.lucare...@sociomantic.com --- (In reply to Walter Bright from comment #39) Calling it -confsection will place it next to the -conf switch in the documentation, making the connection easily discoverable.

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #42 from Leandro Lucarella leandro.lucare...@sociomantic.com --- (In reply to Walter Bright from comment #41) (In reply to Leandro Lucarella from comment #40) Will -confsection=debug be automatically added when -debug is specified?

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #39 from Walter Bright bugzi...@digitalmars.com --- Here's my evil plan: Add a switch -confsection=sectionname which will cause [sectionname] in the config file to be parsed. There can be multiple such switches and sections, they'll be

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #38 from Martin Nowak c...@dawg.eu --- Also see issue 13324 – dynamically load libcurl at runtime. --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #35 from Leandro Lucarella leandro.lucare...@sociomantic.com --- (In reply to Walter Bright from comment #34) BTW, it is possible now to select different configuration files entirely with the -conf=filename switch. How is the PR and

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #36 from yebblies yebbl...@gmail.com --- (In reply to Leandro Lucarella from comment #35) (In reply to Walter Bright from comment #34) BTW, it is possible now to select different configuration files entirely with the -conf=filename

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #37 from Leandro Lucarella leandro.lucare...@sociomantic.com --- (In reply to yebblies from comment #36) (In reply to Leandro Lucarella from comment #35) (In reply to Walter Bright from comment #34) BTW, it is possible now to select

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #33 from Walter Bright bugzi...@digitalmars.com --- A start: https://github.com/D-Programming-Language/dmd/pull/4646 --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 --- Comment #34 from Walter Bright bugzi...@digitalmars.com --- BTW, it is possible now to select different configuration files entirely with the -conf=filename switch. --

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2015-01-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7044 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2014-03-07 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7044 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com ---

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2014-03-07 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #29 from Leandro Lucarella leandro.lucare...@sociomantic.com 2014-03-07 10:21:20 PST --- (In reply to comment #28) (In reply to comment #27) Added industry keyword, it's starting to impact us seriously at Sociomantic. Have

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2014-03-07 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #30 from Martin Nowak c...@dawg.eu 2014-03-07 11:09:55 PST --- This is necessary to move the hardcoded link flags into the config file so that dmd package maintainers can adjust them to different platforms. Therefor I'm absolutely

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2014-03-07 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #31 from yebblies yebbl...@gmail.com 2014-03-08 16:04:38 EST --- (In reply to comment #29) This is not actually the best option, Yes, just a workaround for you until we get a real fix. because the runtime is statically

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2014-03-06 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7044 Leandro Lucarella leandro.lucare...@sociomantic.com changed: What|Removed |Added Keywords|

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #25 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-05-30 01:05:00 PDT --- (In reply to comment #24) (In reply to comment #23) Then when compiling with -debug I get 2 different libraries linked. If I leave

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #16 from Martin Nowak c...@dawg.eu 2013-05-29 06:52:53 PDT --- (In reply to comment #15) I think that's just an ugly hack. What's wrong with the solution I proposed which I think solves the problem from the root? It would be the

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #17 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-05-29 07:01:53 PDT --- (In reply to comment #16) (In reply to comment #15) I think that's just an ugly hack. What's wrong with the solution I proposed which I

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #18 from Martin Nowak c...@dawg.eu 2013-05-29 07:33:53 PDT --- (In reply to comment #17) I don't agree with this, because you need to change a whole set of flags depending on which runtime you are using. -L-l is just not good

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #19 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-05-29 07:51:03 PDT --- (In reply to comment #18) (In reply to comment #17) I don't agree with this, because you need to change a whole set of flags depending on

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #21 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-05-29 07:59:07 PDT --- Another option would be to just eliminate the -release (or the -debug) flag. Having 3 modes to compile stuff (release, normal, debug) might be

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #20 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-05-29 07:57:15 PDT --- (In reply to comment #19) (In reply to comment #18) (In reply to comment #17) I don't agree with this, because you need to change a

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #22 from Martin Nowak c...@dawg.eu 2013-05-29 09:26:04 PDT --- (In reply to comment #19) I think the matching scheme should be similar to http://registry.vibed.org/package-format#build-settings except that it uses

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #23 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-05-29 10:48:49 PDT --- (In reply to comment #22) (In reply to comment #19) I think the matching scheme should be similar to

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #24 from Martin Nowak c...@dawg.eu 2013-05-29 12:34:27 PDT --- (In reply to comment #23) Then when compiling with -debug I get 2 different libraries linked. If I leave [Environment] empty, then I can't link a program without using

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #15 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-05-27 09:28:43 PDT --- (In reply to comment #14) Since the fixup to the link command in this case is quite simple, how about a flag in dmd that performs a dry run

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-05-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 Ellery Newcomer ellery-newco...@utulsa.edu changed: What|Removed |Added CC|

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #11 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-04-12 03:33:40 PDT --- (In reply to comment #10) I think link flags should not be hardcoded in the compiler. They are platform dependent and belong into a

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-04-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #12 from Martin Nowak c...@dawg.eu 2013-04-12 07:34:47 PDT --- (In reply to comment #11) Is need to allow changing easily between a normal and a debug build with -debug or -g (I don't remember which one triggers switching to

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-01-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #8 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-01-09 04:11:47 PST --- (In reply to comment #7) This is getting complex enough that I have to go back to basics and point out that all dmd is doing is building a

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-01-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #9 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-01-09 04:27:55 PST --- BTW, as things are now, you can't compile a program using curl wrapper in phobos, so this doesn't even apply only to the runtime:

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #6 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-01-08 07:44:36 PST --- Full (slightly updated) proposal: * Change -defaultlib and -debuglib to accept an arbitrary number of linker flags. Example:

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #7 from Walter Bright bugzi...@digitalmars.com 2013-01-08 12:44:18 PST --- This is getting complex enough that I have to go back to basics and point out that all dmd is doing is building a command line that is sent to gcc to do the

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2012-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 --- Comment #5 from Leandro Lucarella leandro.lucare...@sociomantic.com 2012-10-22 02:10:58 PDT --- (In reply to comment #4) The problem is the order of -defaultlib and -L is fixed as: 1. -L flags 2. libraries on the command line 3.

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 Leandro Lucarella leandro.lucare...@sociomantic.com changed: What|Removed |Added Keywords|pull|

[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7044 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|