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

Support Archive Libraries #2085

Open
CouleeApps opened this issue Nov 2, 2020 · 3 comments
Open

Support Archive Libraries #2085

CouleeApps opened this issue Nov 2, 2020 · 3 comments
Labels
Component: Type Libraries Effort: Medium Issue should take < 1 month Impact: Low Issue is a papercut or has a good, supported workaround Type: Enhancement Issue is a small enhancement to existing functionality

Comments

@CouleeApps
Copy link
Member

Statically linked libraries for Mach-O/ELF come in the form of ar archives (.a extension). They are basically archives which contain a symbol table and a bunch of Mach-O/ELF object files, one per translation unit. Their format looks pretty similar to tar archives.

Probably blocking on #133

@CouleeApps CouleeApps added the Type: Enhancement Issue is a small enhancement to existing functionality label Nov 2, 2020
@plafosse plafosse added Effort: Medium Issue should take < 1 month Impact: Low Issue is a papercut or has a good, supported workaround labels Nov 4, 2020
@jeffli678
Copy link
Contributor

As a workaround, archive files can be extracted by ar -x file and the individual object files can already be loaded.

Also, the Windows use .lib files for archive files. They have a different file format.

@psifertex
Copy link
Member

Windows support is tracked in #1410.

@galenbwill
Copy link
Contributor

#1410 covers COFF (.obj) but the corresponding archive format for this issue is .lib files. so either track that here or make a new issue (because i'm about to close #1410 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Type Libraries Effort: Medium Issue should take < 1 month Impact: Low Issue is a papercut or has a good, supported workaround Type: Enhancement Issue is a small enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

6 participants