[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Axiom-developer] Makefile.solaris9 stanza
From: |
Bill Page |
Subject: |
RE: [Axiom-developer] Makefile.solaris9 stanza |
Date: |
Thu, 14 Sep 2006 22:15:29 -0400 |
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] Makefile.solaris9 stanza, Gabriel Dos Reis, 2006/09/14
- RE: [Axiom-developer] Makefile.solaris9 stanza, Bill Page, 2006/09/14
- Re: [Axiom-developer] Makefile.solaris9 stanza, root, 2006/09/14
- RE: [Axiom-developer] Makefile.solaris9 stanza, Bill Page, 2006/09/14
- Re: [Axiom-developer] Makefile.solaris9 stanza, root, 2006/09/14
- RE: [Axiom-developer] Makefile.solaris9 stanza,
Bill Page <=
- Re: [Axiom-developer] Makefile.solaris9 stanza, root, 2006/09/14
- Re: [Axiom-developer] Makefile.solaris9 stanza, Gabriel Dos Reis, 2006/09/15
- Re: [Axiom-developer] Makefile.solaris9 stanza, Kai Kaminski, 2006/09/15
- Re: [Axiom-developer] Makefile.solaris9 stanza, Gabriel Dos Reis, 2006/09/15
- Re: [Axiom-developer] Makefile.solaris9 stanza, Kai Kaminski, 2006/09/15
- Re: [Axiom-developer] Makefile.solaris9 stanza, Gabriel Dos Reis, 2006/09/15
- Re: [Axiom-developer] Makefile.solaris9 stanza, Kai Kaminski, 2006/09/15
- Re: [Axiom-developer] Makefile.solaris9 stanza, Gabriel Dos Reis, 2006/09/15
- RE: [Axiom-developer] Makefile.solaris9 stanza, Bill Page, 2006/09/15
- Re: [Axiom-developer] Makefile.solaris9 stanza, root, 2006/09/14