[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 9 04:11:49 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #8 from Leandro Lucarella <leandro.lucarella at 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 command line that is sent to gcc to do the
> actual work.
>
> So I suggest, why not, when your needs for the command line are this complex,
> simply use gcc to do the link step instead of passing through dmd as an
> intermediary?
>
> To see what command dmd formulates and passes to gcc, compile with -verbose.
Because is not an option to ask to do that to all your users when you're
providing an alternative runtime. The -defaultlib as it is, is useless.
And I don't see the complexity in this, is just changing the -defaultlib flag
really, and making the compiler really agnostic about the implementation
details of the runtime.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list