Tim,

Thanks. Now I see how it works.

On September 14, 2006 9:42 PM you wrote:
> 
> > > > As far as I can see PLF is defined in Makefile.pamphlet 
> but never
> > > > used anywhere in the source.
> > > > 
> > > > I suggest we delete it before somebody tries to use it. We don't
> > > > need more flags and special cases in the source if we can avoid
> > > > it.

Damn. So I guess it's too late. This stuff is everywhere. ;)

> > > 
> > > The C code uses this variable. look at src/lib/openpty.c.pamphlet.
> > > It is used as a -D variable on the C command line.
> > > 
> > 
> > What version of the source? I can't find it in either Axiom Gold
> > (axiom--main--1--patch-49) nor in the build-improvements branch
> > anywhere. Maybe I am blind.
> > 
> > Can you give me a line number?
> 
> src/lib/openpty.c line 22.
> 
> the compiler line reads:
> 
>    gcc -D${PLF} 
> 
> which expands to mark the platform like 
> 
>    gcc -DLINUXplatform.
> 

So the answer to Gaby's original question then is that for Solaris
one would expect this variable should be something like:

  PLF=SUNplatform

or SUN4OS5platform or ... something like that.

But at least in the case of the build that I was doing on Solaris 10
with the GNU toolchain installed, it looks more like a LINUXplatform.
I did not patch this variable in my build. (I have no idea whether my
compile would have worked if it had been set to SUNplatform.)

Anyway, I think all these flags are an unfortunate mess which should
really (eventually) be handled by the more general and more standard
autoconfig mechanisms. Right?

Regards,
Bill Page.




_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to