Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2009 16:44:19 +0200
From:      Heiner =?ISO-8859-1?Q?Strau=DF?= <heiner_ej@yahoo.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: please help to uninstall FreeBSD!!!
Message-ID:  <1250520259.1154.33.camel@think.ip>
In-Reply-To: <20090817120025.A73D010656FE@hub.freebsd.org>
References:  <20090817120025.A73D010656FE@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Mon, Aug 17, 2009 at 06:18:45PM +0800, Erich Dollansky wrote:
> > On 17 August 2009 pm 18:09:06 cpghost wrote:
> > > On Mon, Aug 17, 2009 at 10:25:29AM +0200, Polytropon wrote:
> > > > By the way, where did I read that #define macro names have to
> > > > be unique within the first 6 (six) letters? :-)
> > >
> > > The 6 letters limit was actually a restriction of earlier
> > > linkers and it affected all identifiers of linkable objects
> > 
> > I did not know that linkers resolved macros those days.
> 
> Of course they didn't. But knowing that linkers restricted the
> identifiers' length to 6 chars, it made sense for preprocessors
> to restrict them as well before passing them to the compiler
> and linker.
> 
> Actually, it's a bit more complicated than that, but the basic
> restriction came from the linkers, the preprocessors only inherited
> it.
> 
> > Interesting.
> > 
> > Erich
> 
> Regards,
> -cpghost.

Putting the symbol names in one word helped the linker / loader a lot.
Live was so easy.

Heiner

C    (one word = 32 bit) .NOT. (some word processor software)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1250520259.1154.33.camel>