* Compile Elm 2.4 on DU anyone??
@ 1996-04-30 4:00 Ken Brown
1996-05-01 4:00 ` Ken Brown
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Ken Brown @ 1996-04-30 4:00 UTC (permalink / raw)
Has anyone successfully compiled elm 2.4 on DU? I've not included the
details of my problems here, but the first few tries failed.
Any tips/tricks or pointers to info would be appreciated...
--
----------------------------------------------------------------------
Ken Brown / kbrown@trentu.ca / tel: (705)748-1540 / fax: (705)748-1635
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Compile Elm 2.4 on DU anyone??
1996-04-30 4:00 Compile Elm 2.4 on DU anyone?? Ken Brown
@ 1996-05-01 4:00 ` Ken Brown
1996-05-02 4:00 ` Magali BERNARD
1996-05-04 4:00 ` Martin Hannigan
2 siblings, 0 replies; 6+ messages in thread
From: Ken Brown @ 1996-05-01 4:00 UTC (permalink / raw)
I asked a rather general question:
>Has anyone successfully compiled elm 2.4 on DU? I've not included the
>details of my problems here, but the first few tries failed.
Here's the resolution;
After Configure, in config.h change the line:
#define SIGHAND_TYPE int
to
#define SIGHAND_TYPE void
With thanks to wdavid@unf.edu.
--
----------------------------------------------------------------------
Ken Brown / kbrown@trentu.ca / tel: (705)748-1540 / fax: (705)748-1635
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile Elm 2.4 on DU anyone??
1996-04-30 4:00 Compile Elm 2.4 on DU anyone?? Ken Brown
1996-05-01 4:00 ` Ken Brown
@ 1996-05-02 4:00 ` Magali BERNARD
1996-05-04 4:00 ` Martin Hannigan
2 siblings, 0 replies; 6+ messages in thread
From: Magali BERNARD @ 1996-05-02 4:00 UTC (permalink / raw)
ccksb@blaze.trentu.ca (Ken Brown) wrote:
>
>Has anyone successfully compiled elm 2.4 on DU? I've not included the
>details of my problems here, but the first few tries failed.
>
I did install elm-2.4p24 on DUnix 3.2C : at the end of "configure" you
have to edit config.sh and modify :
ccflags='-DANSI_C'
sigtype='void'
and then all worked fine for me.
Be aware, you should install at least elm-2.4p25 which fixes a bug in p24.
(In fact I installed p24 then patched to p25).
--
_________________________________________
Magali BERNARD (magali@univ-st-etienne.fr)
CRITeR - 23 rue du Dr Paul Michelon
42023 St-Etienne Cedex 2 - FRANCE
Tel: 77.48.50.62
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile Elm 2.4 on DU anyone??
1996-04-30 4:00 Compile Elm 2.4 on DU anyone?? Ken Brown
1996-05-01 4:00 ` Ken Brown
1996-05-02 4:00 ` Magali BERNARD
@ 1996-05-04 4:00 ` Martin Hannigan
1996-05-06 4:00 ` Kevin Oberman
1996-05-09 4:00 ` Mark Parsons
2 siblings, 2 replies; 6+ messages in thread
From: Martin Hannigan @ 1996-05-04 4:00 UTC (permalink / raw)
In article <Dqoyu7.Jyo@blaze.trentu.ca>,
Ken Brown <ccksb@blaze.trentu.ca> wrote:
>
>Has anyone successfully compiled elm 2.4 on DU? I've not included the
>details of my problems here, but the first few tries failed.
>
>Any tips/tricks or pointers to info would be appreciated...
I've been working on a similiar problem. At first, I thought it was
that the DEC compiler ate sh*t. So I installed gcc and was expecting a
fast and complete compile. No way. Seems like lots of the header files
in cfe are screwed up.. or the elm port is a little bogon.
That leads to me this question. I'm relatively new to Digital's unix
and was wondering when DEC ships a box, do they include a functional
compiler, or do they give you enough to tease you (and make stuff break)
trying to get you to buy a full package? I have a DEC 2100 2/275mhz CPU
and v3.2 of the OS.
--
--
Martin Hannigan (hannigan@shore.net)
PGP Fingerprint: F9 CF 9C 9F E4 CD E0 D5
50 86 93 CA 0C EB 8F 10
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile Elm 2.4 on DU anyone??
1996-05-04 4:00 ` Martin Hannigan
@ 1996-05-06 4:00 ` Kevin Oberman
1996-05-09 4:00 ` Mark Parsons
1 sibling, 0 replies; 6+ messages in thread
From: Kevin Oberman @ 1996-05-06 4:00 UTC (permalink / raw)
In article <4mgkd4$q71@northshore.shore.net>
hannigan@shore.net (Martin Hannigan) writes:
> That leads to me this question. I'm relatively new to Digital's unix
> and was wondering when DEC ships a box, do they include a functional
> compiler, or do they give you enough to tease you (and make stuff break)
> trying to get you to buy a full package? I have a DEC 2100 2/275mhz CPU
> and v3.2 of the OS.
I don't use elm (I use exmh), so I can't reply specifically, but DU
3.2 includes a passable C compiler. But 4.0 will include the better,
currently unbundled one. I have used cc on 3.2 to build perl and a
number of other packages, though I also use gcc frequently.
Porting to DU is slightly more difficult because DU is 64 bit. and
that means that long != int. This is a tacit assumption in a lot of
popular code. There are also problems with ptr casts into ints since
you can't put an address into an int.
--
R. Kevin Oberman
Energy Sciences Network (ESnet)
Lawrence Berkeley National Laboratory (LBNL)
E-mail: oberman@es.net
Phone: +1 510 422-6955
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compile Elm 2.4 on DU anyone??
1996-05-04 4:00 ` Martin Hannigan
1996-05-06 4:00 ` Kevin Oberman
@ 1996-05-09 4:00 ` Mark Parsons
1 sibling, 0 replies; 6+ messages in thread
From: Mark Parsons @ 1996-05-09 4:00 UTC (permalink / raw)
In article <4mgkd4$q71@northshore.shore.net>, hannigan@shore.net (Martin Hannigan) writes:
> In article <Dqoyu7.Jyo@blaze.trentu.ca>,
> Ken Brown <ccksb@blaze.trentu.ca> wrote:
> >
> >Has anyone successfully compiled elm 2.4 on DU? I've not included the
> >details of my problems here, but the first few tries failed.
> >
> >Any tips/tricks or pointers to info would be appreciated...
>
>
> I've been working on a similiar problem. At first, I thought it was
> that the DEC compiler ate sh*t. So I installed gcc and was expecting a
> fast and complete compile. No way. Seems like lots of the header files
> in cfe are screwed up.. or the elm port is a little bogon.
No. The elm configure script gets the sigtype wrong and sets it to int.
Edit the configuration file when configure gives you the option and
change the sigtype line to sigtype='void' and then it should compile ok.
> That leads to me this question. I'm relatively new to Digital's unix
> and was wondering when DEC ships a box, do they include a functional
> compiler, or do they give you enough to tease you (and make stuff break)
> trying to get you to buy a full package? I have a DEC 2100 2/275mhz CPU
> and v3.2 of the OS.
DEC ship you with at least 2 C compilers. The OSF/1 C compiler and the DEC C
compiler - both of which are excellent. The DEC C compiler is run using
cc -migrate and is the same as that found on other DEC platforms eg VMS. I
think it uses the GEM technology to optimise. The other compiler is just as
good but has its own optimisation step.
Don't jump to conclusions just because you haven't thought about why something
isn't working.
Mark
--
+---------------------------------------------------------------------------+
+ Dr Mark I. Parsons Telephone: Edinburgh Parallel Computing Centre +
+ parsons@epcc.ed.ac.uk 0131 650 5022 Industrial Projects Group +
+---------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1996-05-09 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-30 4:00 Compile Elm 2.4 on DU anyone?? Ken Brown
1996-05-01 4:00 ` Ken Brown
1996-05-02 4:00 ` Magali BERNARD
1996-05-04 4:00 ` Martin Hannigan
1996-05-06 4:00 ` Kevin Oberman
1996-05-09 4:00 ` Mark Parsons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox