Skip to content

Fix the stdlib on bare-metal targets - #3669

Open
ManuLinares wants to merge 2 commits into
c3lang:masterfrom
ManuLinares:fix-baremetal
Open

ManuLinares wants to merge 2 commits into
c3lang:masterfrom
ManuLinares:fix-baremetal

Conversation

@ManuLinares

Copy link
Copy Markdown
Member

No program using the stdlib compiled for elf-aarch64. With a libc
such as newlib, stdin, stdout and stderr were file descriptors cast
to pointers, so printing crashed; they are now opened with fdopen.

No program using the stdlib compiled for elf-aarch64. With a libc
such as newlib, stdin, stdout and stderr were file descriptors cast
to pointers, so printing crashed; they are now opened with fdopen.
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