Rework the build system for static exes #652
Labels
No labels
UX
active development
backlog
blocker
bootstrap
bounty
bug
dependencies
discussion
documentation
duplicate
enhancement
flaky test
help wanted
invalid
javascript
question
release
tendentious
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mighty-gerbils/gerbil#652
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We currently have a flat static directory and mangle module names to mimick the hierarchy.
This creates problems with user includes with ffi as these names cannot be mangled and may conflict/overwrite each other.
The static cache should follow the package hierarchy to avoid these issues.
The main problem is the inclusion of gerbil low level macros in
gx-gambc#and linkage of thegx-gambcruntime.We can avoid this issue by using absolute paths for them, which makes sense now that we have configure/install and friends.
We may also consider building in tmp dir in the gerbil user path, but this may be unnecessary.
We can simply create the static exe stub in place and use absolute path linkage for includes.
cc @drewc @fare
Done! Welcome to the Future.