[GRASS5] Re: CREATE_GMAKE.sh for multiple architectures

Hi all,

from Bev I received a suggestion for src/CMD/head/head:

On Thu, Oct 26, 2000 at 01:02:18PM -0700, Bev Wallace wrote:

Markus,

I install Grass for three architectures (Sol 2.6, Sol 2.7, and Irix 6.5)
from one set of source code. I set both --prefix and --with-bindir for
each architecture. The problem is that gmake5 in the bindir will only
work for the architecture that was configured last.

I made a simple change to CMD/generic/CREATE_GMAKE.sh that saves the
"head" file for each architecture and uses it in the gmake5 script.
This means that I can run gmake5 from each bindir without re-running
configure.

I have attached my CREATE_GMAKE.sh. I got the $ARCH sed command from
CMD/generic/gmake.sh.

I hope you can use this in the official version of Grass.

Regards, Bev Wallace

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bev Wallace
Lockheed Martin Missiles & Space, Sunnyvale, CA
Email: beverly.t.wallace@lmco.com
Phone: (408) 756-0494
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have tried, it works o.k. for me. Is it alright with
all to make this modification?

First the file src/CMD/head/head is generated,
then moved to src/CMD/head/head.$(ARCH)

The gmake5 is taking care of the new head.$(ARCH).

If no objections, I will upload to CVS.

Kind regards

Markus

--
Dipl.-Geogr. Markus Neteler * University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494 Fax: -3984

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi Markus

Markus Neteler wrote:

I have tried, it works o.k. for me. Is it alright with
all to make this modification?

First the file src/CMD/head/head is generated,
then moved to src/CMD/head/head.$(ARCH)

The gmake5 is taking care of the new head.$(ARCH).

Sounds fine to me except for the make distclean target in Makefile.in.
It is supposed to delete the head file, but with multiple head files it
would have to be changed. The first thought would be to delete head* but
that would also delete head.in Perhaps we could rename head.in to
Head.in so rm head* can be used. What do you think?

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Fri, Oct 27, 2000 at 05:45:57PM +0700, Justin Hickey wrote:

Hi Markus

Markus Neteler wrote:
> I have tried, it works o.k. for me. Is it alright with
> all to make this modification?
>
> First the file src/CMD/head/head is generated,
> then moved to src/CMD/head/head.$(ARCH)
>
> The gmake5 is taking care of the new head.$(ARCH).

Sounds fine to me except for the make distclean target in Makefile.in.
It is supposed to delete the head file, but with multiple head files it
would have to be changed. The first thought would be to delete head* but
that would also delete head.in Perhaps we could rename head.in to
Head.in so rm head* can be used. What do you think?

Hi Justin,

as I have found some other update problems (due to the Makefile stuff)
I will not yet upload.
Concerning Head.in: Is this safe for all platforms? Especially the
WIN$$?

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi Markus

Markus Neteler wrote:

as I have found some other update problems (due to the Makefile stuff)
I will not yet upload.
Concerning Head.in: Is this safe for all platforms? Especially the
WIN$$?

Ahh yes, perhaps not. :frowning: Off the top of my head, I'm not sure how to do
it, but we can think of something if you want to upload it.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'