Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldmd2: -defaultlib= does not work #601

Closed
redstar opened this issue Apr 23, 2014 · 1 comment
Closed

ldmd2: -defaultlib= does not work #601

redstar opened this issue Apr 23, 2014 · 1 comment

Comments

@redstar
Copy link
Member

redstar commented Apr 23, 2014

With dmd, you can use -defaultlib= to not link against a default library. With ldmd2, -defaultlib= results in the error

Error: Expected argument to '-defaultlib'
@dnadlinger
Copy link
Member

What's more, due to the way the arguments are handled using the LLVM libs, currently our defaultlib and debuglib append to a list instead of replacing it. This makes no sense as the whole point of the arguments is to offer a default that can be overridden (otherwise, one could just use -L-l).

dnadlinger added a commit to dnadlinger/ldc that referenced this issue Jul 1, 2014
…efaultlib.

This is necessary as the only point of having -defaultlib
and -debuglib is to enable the user to customize the defaults
set in the configuration, for example to avoid linking to
Phobos.

GitHub: Fixes ldc-developers#416.
GitHub: Fixes ldc-developers#601.
dnadlinger added a commit to dnadlinger/ldc that referenced this issue Jul 1, 2014
…efaultlib.

This is necessary as the only point of having -defaultlib
and -debuglib is to enable the user to customize the defaults
set in the configuration, for example to avoid linking to
Phobos.

GitHub: Fixes ldc-developers#416.
GitHub: Fixes ldc-developers#601.
dnadlinger added a commit to dnadlinger/ldc that referenced this issue Jul 2, 2014
…efaultlib.

This is necessary as the only point of having -defaultlib
and -debuglib is to enable the user to customize the defaults
set in the configuration, for example to avoid linking to
Phobos.

GitHub: Fixes ldc-developers#416.
GitHub: Fixes ldc-developers#601.
redstar pushed a commit that referenced this issue Sep 27, 2014
Bug259: fixed signed-unsigned comparisons in druntime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants