Hallo Herr Jim Hall via Freedos-devel,

am Samstag, 30. November 2024 um 19:19 schrieben Sie:

> On Sat, Nov 30, 2024 at 11:49 AM tom ehlert via Freedos-devel
> <freedos-devel@lists.sourceforge.net> wrote:
>>
>> Hallo Herr Paul Dufresne via Freedos-devel,
>>
>> am Samstag, 30. November 2024 um 16:34 schrieben Sie:
>>
>>
>> > I think we should develop a source package format, that handle 
>> > dependencies, because sources handle
>> > a lot of libraries, that make a lot dependencies.
>>
>> I would be interested to learn about all these dependencies.
>>
>> I'm fairly certain that not even a single 16-bit program is dependent
>> on any 'dependency' (other than the right compiler installed).
>>
>> Additionally, I think that these depndencies are at least rare -
>> if even existent - in 32-bit land.
>>
>> I'm also not aware of any programs (in FreeDOS context) depending on
>> any libraries not supplied by the compilers.
>>
>> Please correct me if I'm wrong.


> The only dependencies I can think of are things like Kitten
> (translations) and Getopt. These are not provided by the compiler, but
> are external libraries. They are not very big.

both don't come as external libraries, to be installed separately.
they come as part of the project itself (in varying versions).

> I suppose there's also the use case where a BAT file might use V8
> Power Tools, which is a dependency if you want the BAT file to work.
> These are not very common.

> Games are probably the more common case where you have dependencies on
> bigger things like Allegro.
there is no "Allegro" package according to 
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.4/listing.txt.
so there can't be dependencies on Allegro.


>  The discussion that sparked this thread
> was about DOjS including a bunch of libraries. But I think that's
> appropriate for something like DOjS.

This is perfectly fine for DOjs. However this package could and should (and 
probably does)
include all stuff it depends on.



> But it's also not typical for other DOS programs and DOS applications
> we include. A lot of programs make assumptions about the compiler, and
> the compiler provides the dependencies. For example: the conio.h
> (console i/o) and graph.h (colors) features in OpenWatcom vs another C
> compiler.

right; DOS programs can depend on the compiler installed.
but this is clearly manifested in the makefile or compile.bat or whatever.

And if a program relies on TC conio.h specifics, this is not cleaned up by
installing a different compiler. You need exactly the TC (or WCC) compiler.
 
IMHO this closes the 'dependencies' threat. hopefully forever.

Tom



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to