I tend to agree with avoiding wasting tons of time rebuilding code, code
already built and easily obtained.  I found I could easily get lost (down a
rabbit hole) with building and maintaining build scripts, with lots of time
wasted just compiling code.  After a decade, moved from using Gentoo
(source based distribution) to a binary based Linux distribution.

Best studying the code (eg. similar to studying a good book), and tracing
the processes.  Worry about building after patching or modifying the source
code.  Also, with FreeDOS, we're most likely talking assembly language.
;-)  In other words, (Assembly language is) fun code for reading, and far
more difficult than C language!

>> Instead, you want to look at the kernel and command.com sources

On Thu, Aug 8, 2024 at 4:47 PM Eric Auer via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

>
> Hi Gabriel,
>
> if I have to guess, then buildall does the following:
>
> It compiles several different types of FreeDOS kernel,
> for example with and without FAT32 support.
>
> Each kernel is just a single binary which you can
> rename to kernel.sys, then use SYS or similar tools
> to install it to a FAT drive of your choice. Our
> SYS and kernel support FAT12, FAT16 and FAT32.
>
> As you have already noticed, buildall will not
> build a complete distro. All apps are packaged
> separately :-) However, there is of course some
> scripted build process used to create the distro
> in ISO and other formats:
>
>
> https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/test/report.html
>
> If you just want to learn about operating systems,
> then re-building the entire distro clearly is NOT
> what you want to do. Instead, you want to look at
> the kernel and command.com sources and maybe those
> of a few interesting low level apps and drivers and
> compile THOSE, possibly with your own custom changes.
>
> That would be more interesting from the operating
> system exploration point of view, compared to pumping
> around 100s of megabytes of data to create an ISO.
>
> Enjoy FreeDOS! Regards, Eric
>
>
>
> > Yes. I was taking a look and I discovered I needed some old tools...
>
> As said, you should NOT need any hard to get tools.
> We tried to make many components buildable with modern
> free open source compilers and assemblers. You may
> still need Turbo C in some cases. Let us know if and
> for which relevant packages you need more old tools.
>
> > Reading some documentation on kernel repository ( Github), I saw a file
> > called "buildall.bat" , so , I thought that pick all source code ,compile
> > it and create a .iso , something like that .
>
> See above and visit https://gitlab.com/FreeDOS/OS/builder ;-)
>
>
>
>
>
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to