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

Build shared objects from aldor libraries #26

Open
pippijn opened this issue Jul 26, 2013 · 0 comments
Open

Build shared objects from aldor libraries #26

pippijn opened this issue Jul 26, 2013 · 0 comments

Comments

@pippijn
Copy link
Collaborator

pippijn commented Jul 26, 2013

In order to save on executable size, it would make sense to build shared libraries (.so/.dll) from aldor code. The problem here is that the runtime (libfoam) requires a definition of rtexns, which is in one of the standard libraries (libaldor/axllib), and the latter requires the definitions from libfoam. Thus, libfoam cannot be a shared library, but if libaldor is linked against a static libfoam, it contains the runtime, and then the user loses the choice of runtime (with -cruntime=...). Perhaps it would make sense to split the C and aldor parts of the runtime, then link the aldor part statically and the C part dynamically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant