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

Modify the x86_64 assembler to no longer build object code #8

Open
MatthewKosloski opened this issue Jul 17, 2021 · 0 comments
Open
Labels
feature New feature or request

Comments

@MatthewKosloski
Copy link
Owner

Currently, the x86_64 assembler creates object code from a C source file (see here). I no longer think the assembler should have this responsibility. The assembler should just be responsible for linking and assembling.

The assembler should first check for the existence of the compiler's runtime object code file in the same directory as the compiler jar. If the assembler finds the object code file, then it can be linked with the compiler's outputted source file to produce an executable. If the assembler does not find the object code, then a message should be sent to the standard error stream and no resulting executable is created.

The reason for this change is that I no longer want to include the runtime source file and header file in future releases; just an object code file. This change will result in less release artifacts.

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

No branches or pull requests

1 participant