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

.dylib file command line arguments should be forwarded to linker #2445

Closed
timotheecour opened this issue Dec 10, 2017 · 2 comments
Closed

.dylib file command line arguments should be forwarded to linker #2445

timotheecour opened this issue Dec 10, 2017 · 2 comments

Comments

@timotheecour
Copy link

timotheecour commented Dec 10, 2017

on OSX:

dmd libtest1.dylib ...
ok
ldmd2 libtest1.dylib ...
Error: unrecognized file extension dylib

whatever the correct behavior is, it should be consistent bw dmd and ldmd2
if you close because ldmd's behavior is assumed the correct one, please post as bugzilla in dmd

@dnadlinger
Copy link
Member

We should indeed just forward these to the linker as well.

@dnadlinger dnadlinger changed the title Error: unrecognized file extension dylib: inconsistent behavior compared to dmd .dylib file command line arguments should be forwarded to linker Dec 10, 2017
@kinke
Copy link
Member

kinke commented Jan 12, 2018

Fixed by #2485.

@kinke kinke closed this as completed Jan 12, 2018
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

3 participants