-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
-lib Switch for ldmd2 #21
Comments
yes, our plan is to do something like #4 (comment) |
IMHO -lib, at least for the ldmd2 compatibility script, should do exactly what it does under dmd and gdmd, i.e. build a static library. Building shared libraries should require using a separate switch. However, this is a relatively minor detail. Much more important is to just get an easy, single command way to build a static lib from a bunch of source files in place. |
we could do too -lib and -dynamic-lib :-) |
or -lib and -shared |
Fix up set/stack/utility examples after class value changes
The ldmd2 script, which is supposed to provide DMD-like command line flags to LDC, doesn't support building libraries using -lib. This is easy to work around and fix (just build individual object files and archive them manually), but it should be supported so that LDC can be a drop in replacement for DMD without any changes to build processes.
The text was updated successfully, but these errors were encountered: