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
CC|
https://issues.dlang.org/show_bug.cgi?id=7044
Vladimir Panteleev changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
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 #53 from Martin Nowak ---
(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://github.com/ldc-dev
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #52 from Martin Nowak ---
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=` switch. Problem i
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #51 from Martin Nowak ---
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 (see
[here](h
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #50 from Dicebot ---
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 #49 from Martin Nowak ---
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://github.com/D-Programming-Language/druntime/pull/1341.
--
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #48 from Leandro Lucarella ---
(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 than having a separate
> config
https://issues.dlang.org/show_bug.cgi?id=7044
Andrei Alexandrescu changed:
What|Removed |Added
Version|D1 & D2 |D2
--
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #47 from Walter Bright ---
(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 everyone
is ready.
--
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #46 from Walter Bright ---
https://github.com/D-Programming-Language/dmd/pull/4713
--
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #45 from Dicebot ---
Leandro is currently on vacation. I suggest to pause this until he is back.
--
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #44 from Walter Bright ---
> 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 sections, which would be a
https://issues.dlang.org/show_bug.cgi?id=7044
Dicebot changed:
What|Removed |Added
CC||pub...@dicebot.lv
--- Comment #43 from Dicebot ---
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #42 from Leandro Lucarella ---
(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?
>
> No. You'll have to add -confse
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #41 from Walter Bright ---
(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] section parsed. We
can alwa
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #40 from Leandro Lucarella ---
(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.
Will -confsection=debug be aut
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #39 from Walter Bright ---
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 parsed in lexical order.
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #38 from Martin Nowak ---
Also see issue 13324 – dynamically load libcurl at runtime.
--
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #37 from Leandro Lucarella ---
(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 different configuration file
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #36 from yebblies ---
(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 switch.
>
> How
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #35 from Leandro Lucarella ---
(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 this addressing this issue? I might
https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #34 from Walter Bright ---
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
--- Comment #33 from Walter Bright ---
A start: https://github.com/D-Programming-Language/dmd/pull/4646
--
https://issues.dlang.org/show_bug.cgi?id=7044
Vladimir Panteleev changed:
What|Removed |Added
CC||thecybersha...@gmail.com
--- Comment #32
https://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #31 from yebblies 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
> compiled so we'd hav
https://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #30 from Martin Nowak 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 supporting th
https://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #29 from Leandro Lucarella
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 you considered building a new
https://d.puremagic.com/issues/show_bug.cgi?id=7044
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment #28 from ye
https://d.puremagic.com/issues/show_bug.cgi?id=7044
Leandro Lucarella changed:
What|Removed |Added
Keywords||industry
--- Comment #27 from Lea
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #26 from Martin Nowak 2013-10-15 04:13:29 PDT ---
I haven't yet got around to do this though the implementation is fairly simple
and similar to the Environment64 change.
https://github.com/D-Programming-Language/dmd/commit/190702057
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #25 from Leandro Lucarella
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
> > [Environment] empty, then I ca
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #24 from Martin Nowak 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 -debug.
M
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #23 from Leandro Lucarella
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://registry.vibed.org/package-format#build-settings except that i
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #22 from Martin Nowak 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
os-versions-debug/release-compi
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #21 from Leandro Lucarella
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 too much. But
that's even a bigge
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #20 from Leandro Lucarella
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 whole set of flags
> > > dependi
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #19 from Leandro Lucarella
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 which runtime you are using.
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #18 from Martin Nowak 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 enough.
>
True
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #17 from Leandro Lucarella
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 think solves the problem from
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #16 from Martin Nowak 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 fourth comp
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #15 from Leandro Lucarella
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 and just prints out the link com
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Ellery Newcomer changed:
What|Removed |Added
CC||ellery-newco...@utulsa.edu
--- Comme
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #13 from Leandro Lucarella
2013-04-15 04:48:39 PDT ---
(In reply to comment #12)
> (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
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #12 from Martin Nowak 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 debuglib
>
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #11 from Leandro Lucarella
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 configuration file so that package maint
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #10 from Marti
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #9 from Leandro Lucarella
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://stackoverflow.com/questions/10095150/std
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #8 from Leandro Lucarella
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 command line that is sent to gcc t
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #7 from Walter Bright 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
actual work.
So I sugge
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #6 from Leandro Lucarella
2013-01-08 07:44:36 PST ---
Full (slightly updated) proposal:
* Change -defaultlib and -debuglib to accept an arbitrary number of linker
flags. Example: -defaultlib="-lphobos2 -lrt -ldl".
* Remove all
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #5 from Leandro Lucarella
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. libraries specified by pragma(lib
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Leandro Lucarella changed:
What|Removed |Added
Keywords|pull|
--- Comment #3 from Leandro Lucar
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Leandro Lucarella changed:
What|Removed |Added
Summary|[PATCH] Add -sL swith to|Missing a way to control
57 matches
Mail list logo