Skip to content

Conversation

@guberathome
Copy link
Contributor

@guberathome guberathome commented Jan 5, 2025

Fixes the build issue #195 on {MSYS2, Linux, FreeBSD, NetBSD}.

Test on Linux, FreeBSD are now ok:

$ IO_SOURCE="pf_io_stdio.c pf_fileio_stdio.c" make test
...
Standalone pForth executable written to pforth_standalone
cd ../../fth && /home/siggi/build/vanilla/pforth-2.0.1/platforms/unix/pforth_standalone -q t_corex.fth
...
 124 passed,    0 failed.
cd ../../fth && /home/siggi/build/vanilla/pforth-2.0.1/platforms/unix/pforth_standalone -q t_strings.fth
...
  58 passed,    0 failed.
cd ../../fth && /home/siggi/build/vanilla/pforth-2.0.1/platforms/unix/pforth_standalone -q t_locals.fth
...
   9 passed,    0 failed.
cd ../../fth && /home/siggi/build/vanilla/pforth-2.0.1/platforms/unix/pforth_standalone -q t_alloc.fth
...
   1 passed,    0 failed.
cd ../../fth && /home/siggi/build/vanilla/pforth-2.0.1/platforms/unix/pforth_standalone -q t_floats.fth
...
  60 passed,    0 failed.
cd ../../fth && /home/siggi/build/vanilla/pforth-2.0.1/platforms/unix/pforth_standalone -q t_file.fth
...
  94 passed,    0 failed.
PForth Tests PASSED

MSYS2 still fails on RESIZE-FILE.
Tests for FILE-RESIZE fails on NetBSD, which should probably be treated as separate issue.

@guberathome guberathome changed the title fix fallback/stdio build (#195) fix fallback/stdio build Jan 5, 2025
@guberathome guberathome marked this pull request as ready for review January 6, 2025 08:02
@guberathome
Copy link
Contributor Author

ready to be merged.

@guberathome
Copy link
Contributor Author

Update: Verify that this fixes the NetBSD problems as well after #198 has been merged.

@guberathome guberathome mentioned this pull request Jan 17, 2025
Copy link
Owner

@philburk philburk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch.

@philburk philburk merged commit 9db4e9e into philburk:master Jan 20, 2025
3 checks passed
@guberathome guberathome deleted the stdio-build branch January 22, 2025 06:09
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.

2 participants