https://issues.dlang.org/show_bug.cgi?id=7044
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P3
--
https://issues.dlang.org/show_bug.cgi?id=7044
Andrei Alexandrescu changed:
What|Removed |Added
Keywords||bootcamp
https://issues.dlang.org/show_bug.cgi?id=7044
Vladimir Panteleev changed:
What|Removed |Added
See Also|
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. ***
--
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
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
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.
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=`
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.
--
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
https://issues.dlang.org/show_bug.cgi?id=7044
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|D1 D2 |D2
--
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
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
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.
--
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
--
https://issues.dlang.org/show_bug.cgi?id=7044
Dicebot pub...@dicebot.lv changed:
What|Removed |Added
CC||pub...@dicebot.lv
--- Comment #43
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]
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.
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?
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
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.
--
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
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
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
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
--
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.
--
https://issues.dlang.org/show_bug.cgi?id=7044
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=7044
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||yebbl...@gmail.com
---
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
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
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
https://d.puremagic.com/issues/show_bug.cgi?id=7044
Leandro Lucarella leandro.lucare...@sociomantic.com changed:
What|Removed |Added
Keywords|
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
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
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
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
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
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
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
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
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
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
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
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Ellery Newcomer ellery-newco...@utulsa.edu changed:
What|Removed |Added
CC|
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
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
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment
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
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:
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:
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
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.
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Leandro Lucarella leandro.lucare...@sociomantic.com changed:
What|Removed |Added
Keywords|pull|
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
54 matches
Mail list logo