Skip to content

Remove nolabels attribute from unixLabels#751

Closed
mshinwell wants to merge 1 commit intooxcaml:mainfrom
mshinwell:split-unixlabels
Closed

Remove nolabels attribute from unixLabels#751
mshinwell wants to merge 1 commit intooxcaml:mainfrom
mshinwell:split-unixlabels

Conversation

@mshinwell
Copy link
Copy Markdown
Collaborator

This is an attempt to remove the nolabels attribute from unixLabels.ml so that the unix library can be used in the boot compiler. We'd like this so that owee can be linked into the boot compiler, in turn enabling direct writing of .o files bypassing the system assembler (by using the binary emitter).

We'll probably have to merge this and test on the JS tree to see if it works ok. One problem is that unix.cmxs will no longer contain UnixLabels but I'm hoping we can get away with that.

In due course if dune starts supporting per-file compilation flags, this could all be simplified.

@mshinwell
Copy link
Copy Markdown
Collaborator Author

@xclerc Do you think you could have a quick look at this? It's been tested on #757 and seems to work ok.

@mshinwell
Copy link
Copy Markdown
Collaborator Author

This fix was merged in the internal assembler PR.

@mshinwell mshinwell closed this Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant