Hello Rugxulo,

Please don't feel pressure from me about this, but
"build-ia16-20180616-update-20180708.zip" (35 kb) is only some small
files, not the full sources. Obviously the rest is on Github. But what
exactly do you need to rebuild this? (I probably won't try, just
curious anyways.) Ubuntu (18.04?) host OS (and various dependencies)?
Full GCC 6.x sources (etc)?

Thanks! Yes, this builds on an Ubuntu box --- it is a sort of "Canadian cross" setup which uses
- an Ubuntu build machine (I use 16.04; 18.04 might work too), to build
- GCC for the DJGPP host platform, which can produce
- programs for the 16-bit DOS target platform.

fetch.sh (in build-ia16) will download from GitHub the sources of GCC, Binutils, and Newlib patched for IA-16. Currently the gcc-ia16, binutils-ia16, and newlib-ia16 repositories include the full sources mixed with the IA-16 patches; I can probably create diffs against the official versions (e.g. the official GCC 6.3.0 sources), which might be useful.

The dependencies needed to build GCC are GMP, GNU MPFR, GNU MPC, and the Integer Set Library (ISL) --- which fetch.sh also downloads. build.sh will build these twice, once for the Ubuntu platform (for stage1), and once for DJGPP (for stage2).

I am not sure if it is feasible to include truly "full" sources inside the FreeDOS packages. The complete patched GCC source tree is quite large even when xz-compressed (about 58 MiB), even after excluding some of the bigger testsuites from the source tree. The patched Binutils and Newlib sources are also rather big, about 27 MiB and 7 MiB when xz'ed.

However, as mentioned, it should be possible to create diffs for these against official GCC, Binutils, and Newlib source trees. Maybe I will see if I can include such diffs, and the build-ia16 scripts, inside the FreeDOS packages.

I also noticed that the binaries (.EXEs) seem forcibly 8.3 compatible,
will that still work in raw DOS? I mean, I know it can and should, but
did you test it? GCC usually demands LFNs (although DJGPP seems to
work both ways, thankfully). I guess I need to try to do a temporary
install and test it myself for us.

Yes, I have tested the setup a bit in a QEMU box with FreeDOS installed, and it does work. I have not done extensive regression tests with this setup, though.

Thanks for your efforts.

Thank you!

--
https://github.com/tkchia

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to