Skip to content

Conversation

kinke
Copy link
Member

@kinke kinke commented Aug 11, 2024

Currently, we disallow commands like ldc2 -lib lib1.a lib2.a -of=libmerged.a, requiring at least one object file input.

@kinke
Copy link
Member Author

kinke commented Aug 11, 2024

Not directly related, but turns out we don't actually merge .a libs on Posix as I had assumed (AFAIK, this 'just works' on Windows - by specifying the .lib inputs like regular .obj inputs in the lib.exe cmdline), the 'merged' .a archive contains the nested .a libs, not their object files, making it unusable.

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

Successfully merging this pull request may close these issues.

1 participant