Support foreign artifact building and linkage in make #653

Open
opened 2022-01-08 09:57:16 +00:00 by vyzo · 0 comments
vyzo commented 2022-01-08 09:57:16 +00:00 (Migrated from github.com)

Currently it is very cumbersome to build native code in C and link it correctly when use :std/make.

Ideally we would have rules with building with the C compiler and appropriate options for linking in a module.
We also need to handle the case of static exe linkage correctly -- this can be done by placing the compiled artifact in the appropriate static directory and linking it.
The compiler driver will also need to be updated to support this.

See also #652.

Currently it is very cumbersome to build native code in C and link it correctly when use `:std/make`. Ideally we would have rules with building with the C compiler and appropriate options for linking in a module. We also need to handle the case of static exe linkage correctly -- this can be done by placing the compiled artifact in the appropriate static directory and linking it. The compiler driver will also need to be updated to support this. See also #652.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mighty-gerbils/gerbil#653
No description provided.