delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/15/14:06:46

Message-ID: <37669122.23518F90@pallen.dabsol.co.uk>
Date: Tue, 15 Jun 1999 18:45:06 +0100
From: Peter Allen <P DOT Allen AT pallen DOT dabsol DOT co DOT uk>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Hello World and File size
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990614141752 DOT 8278C-100000 AT is>
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> On Mon, 14 Jun 1999, Shawn Hargreaves wrote:
> 
> > > That would require a totally different development model than the one
> > > adopted by DJGPP.  I'm not sure how familiar you are with the Linux
> > > development procedures; neither will I go into discussing here
> > > something which I happen to know only by hearsay.  It will suffice to
> > > say that the development of core Linux functionality is much more
> > > centralized than ours
> >
> > Do you really think so?
> 
> As I said: I'd rather not discuss it.  My source was someone very close
> to Linux development, but that's all I'm willing to say.
> 
> > I would have said that this was exactly the
> > opposite way around: Linux development seems to be far less tightly
> > organised than djgpp. Some individual GNU packages are very centralized,
> > but there is no single ftp site where you can get a "latest version"
> > of everything, compiled and tested to work properly together.
> 
> I was talking about core features, not about add-ons.  Think Linux
> kernel, not application packages.  The features that are or aren't
> included in core Linux functionality are tightly controlled.
>
 
Do you mean tightly controlled, ie the "higher archy" or maintainers,
like in the kernels case Linus and Alan Cox, or just written in a 
closed environment, as I though the whole point of "The cathederal 
and the bazaar" was that linux was written in a bazaar style environment 
rather than a cathederal.  
One point I will make about DJGPPs development (totally unrelated) 
is that it is much more isolated from the users than linux's, although
that maybe because there is more development going on under linux.

> Anyone who was using Linux during the changeover to glibc will be
> > very aware that it is not even remotely free from library conflicts.
 
Don't I just know that.  ;-)

> That's another issue.  Someone who *wants* to prevent a mess does not
> necessarily *succeeds* in doing that.  We had our share of library bugs
> as well.

IMHO because DJGPP is not going under *intensive* development i.e. like
something like wine is, library bugs from shared librarys would not
be huge problems.

> > And I don't think that submitting a patch to the maintainers would
> > be an instant way to fix a problem
> 
> The argument about instant fixes wasn't mine.
> 
> My argument was that when I fix a bug in my copy of libc and then relink
> some program with the patched library and upload it to SimTel, I only
> have to worry about testing that one program.  In contrast, patching
> and distributing a shared library potentially affects many more programs,
> some of which aren't my responsibility and are well beyond my control.
 
True, although the advantage of DJGPP having a much more segregated 
development from stable versions is that most bugs will only effect
the development releases, so as long as most build there (stable)
programs
linking to the stable library that won't be so much of an issue. 

> > The majority of Linux programs will in fact run on any Unix variant
> 
> I don't have any direct experience with Linux, but I do have experience
> with other flavors of Unix.  I've seen too many cases where a binary
> carried to another box running the same OS crashed or didn't start
> because of mismatches in versions of libc.so.

I haven't seen it much with libc, although I avoided a lot of problems 
by coming onto the linux scene at the end of the upgrade to libc6
problems.
Tell me about it with GTK though :-)

> > and if you code with
> > that in mind, your end product will be far more resistant to changes
> > in the environment.
> 
> I don't know how to code for several, potentially incompatible versions
> of libraries, unless you purposefully refrain from using advanced
> features, or use run-time tests to choose from several possible code
> branches (and bloat the application).
> 
> Even if that would be practical, how in the world do I test my program
> with umpteen versions of libc it can meet out there?
> 
> > - Most Linux programs are distributed as source, and have a whole
> > set of tools (autoconf, automake) to adjust this source for whatever
> > machine you want to build it on.
> 
> I hope we can agree that this paradigm is not for DJGPP.  To this day, I
> have difficulties convincing people that recompiling most DJGPP packages
> is a very simple job, although we both know that it usually boils down to
> typing "make [Enter]" and sitting back for a while.
> 
> If you agree, the above just reiterates that what's good for Linux is
> not necessarily good for DJGPP.
> 
> FWIW, I predict that before Linux becomes much more popular than it is
> today, it, too, will have to abandon the idea of compiling the kernel
> for each configuration change.  I think the latest releases already do
> so.

Modules are a great help....

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019