Skip to content

[c86] Modify ecc compiler driver script to run directly on ELKS#2121

Merged
ghaerr merged 1 commit intomasterfrom
ecc
Nov 29, 2024
Merged

[c86] Modify ecc compiler driver script to run directly on ELKS#2121
ghaerr merged 1 commit intomasterfrom
ecc

Conversation

@ghaerr
Copy link
Copy Markdown
Owner

@ghaerr ghaerr commented Nov 29, 2024

Updates ecc to allow directly running on ELKS. This now allows the same script to run the C86 compiler driver from a cross-compilation host environment or on ELKS itself.

Unfortunately, cpp86 seems to be running into trouble when passed the -D flags required for compiling the library, etc. This will have to be fixed before we can proceed much further. I suspect the problem is related to CPP86 either not having enough heap space, or possibly having to use fmemalloc etc. It could also be related to make either having too much heap or being too large to allow other C86 programs to run. Not sure yet.

I am instead going to work on getting ELKS make to work, where it is also running into more problems with the tools running out of memory (in this case NASM afterwards). Using a Makefile, I as able to remove the CPP86 -D options so at least it would continue for the time being.

I will open a PR on 8086-toolchain showing the continued problems for @rafael2k's testing and tools debugging of CPP86 and/or NASM.

Here's a screen shot showing the problem (the system crashes afterwards):

c86 ecc

@ghaerr ghaerr merged commit 2ee8f0a into master Nov 29, 2024
@ghaerr ghaerr deleted the ecc branch November 29, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant