* egcs is very strict
@ 1998-01-11 18:33 Alessandro Mirone
0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Mirone @ 1998-01-11 18:33 UTC (permalink / raw)
Hi people,
I have compiled some slap routines with
egcs g77.
Egcsg77 looks to me very strict:
I had already compiled these routines with gnu g77 and
a fortran77 on a solaris, and did not get any compilation error.
Now one of these routines uses a work space
that is an array of float and pass it to another routines that needs
a work space of integers.
Egcs detects that the two types are differents and gives error.
Of course that may save one from bugs now and then , but in this
practical case that`s just some memory space, so the type
does not matter.
May be I am missing some feature, I don`t know
if typecasting exists in fortran, or may be I could
change the behaviour with some switch.
Any help is apprecihated,
Best regards
Alessandro MIRONE
LULI, 91128 Ecole Polytechnique, Palaiseau
alex@greco2.polytechnique.fr
tel: (33) (1) 64468029
Tel cellulaire : 0681643779
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: egcs is very strict
@ 1998-01-11 19:45 Craig Burley
0 siblings, 0 replies; 9+ messages in thread
From: Craig Burley @ 1998-01-11 19:45 UTC (permalink / raw)
> Egcsg77 looks to me very strict:
>I had already compiled these routines with gnu g77 and
>a fortran77 on a solaris, and did not get any compilation error.
> Now one of these routines uses a work space
>that is an array of float and pass it to another routines that needs
>a work space of integers.
> Egcs detects that the two types are differents and gives error.
>Of course that may save one from bugs now and then , but in this
>practical case that`s just some memory space, so the type
>does not matter.
> May be I am missing some feature, I don`t know
>if typecasting exists in fortran, or may be I could
>change the behaviour with some switch.
The reason egcs appears stricter to you is *probably* because
it is based on g77 0.5.21, and you're not used to using that
particular version of g77. (Most of the global, or filewide,
analysis facility was added in 0.5.21 -- including the kind
of bad-code detection you're talking about.)
Could you report what terms you looked for in the index of the
g77 documentation, so we can add more entries to help people
find out about options like -fno-globals?
Also, could you show the diagnostic(s) you got, so we can
tell which ones need pointers to the relevant portions of the
document added? (E.g. newer g77 diagnostics contain text
such as "[info -f g77 M GLOBALS]", which shows the exact command
to type to find more info on the diagnostic.)
--
"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson burley@gnu.org
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: egcs is very strict
@ 1998-01-11 20:05 N8YDAWG
0 siblings, 0 replies; 9+ messages in thread
From: N8YDAWG @ 1998-01-11 20:05 UTC (permalink / raw)
DON'T WRITE ME ANY MORE
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: egcs is very strict
[not found] <10fa9d83.34b92614@aol.com>
@ 1998-01-11 20:35 ` Paul D. Robertson
0 siblings, 0 replies; 9+ messages in thread
From: Paul D. Robertson @ 1998-01-11 20:35 UTC (permalink / raw)
On Sun, 11 Jan 1998, N8YDAWG wrote:
> Date: Sun, 11 Jan 1998 15:05:40 EST
> From: N8YDAWG <N8YDAWG@aol.com>
> To: axp-list@redhat.com
> Subject: Re: egcs is very strict
>
> DON'T WRITE ME ANY MORE
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
Which part of the last two lines don't you understand?
Unsubscribe yourself from the list if you don't want mail from the list,
if that doesn't work, then contact the list owner, but stop acting like a
childish idiot.
Paul
-----------------------------------------------------------------------------
Paul D. Robertson "My statements in this message are personal opinions
proberts@clark.net which may have no basis whatsoever in fact."
PSB#9280
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: egcs is very strict
[not found] <Pine.SOL.3.91.980111192423.12851A-100000@greco2>
@ 1998-01-11 20:38 ` David van der Spoel
0 siblings, 0 replies; 9+ messages in thread
From: David van der Spoel @ 1998-01-11 20:38 UTC (permalink / raw)
On Sun, 11 Jan 1998, Alessandro Mirone wrote:
>
>Any help is apprecihated,
> Best regards
>
Try the equivalence construct (dirty fortran) in your subroutine:
equivalence intarr(*),floatarr(*)
Groeten, David.
________________________________________________________________________
Dr. David van der Spoel Biomedical center, Dept. of Biochemistry
s-mail: Husargatan 3, Box 576, 75123 Uppsala, Sweden
e-mail: spoel@xray.bmc.uu.se www: http://zorn.bmc.uu.se/~spoel
phone: 46 18 471 4205 fax: 46 18 511 755
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: egcs is very strict
[not found] <199801111945.OAA02466@melange.gnu.org>
@ 1998-01-11 21:19 ` Alessandro Mirone
0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Mirone @ 1998-01-11 21:19 UTC (permalink / raw)
Dear Craig Burley
thank you very much for your help.
About the documentation:
yes, I got the
"[info -f g77 M GLOBALS]"
message from the compilation process and tried to run it,
but apparently g77 is missing from my info, and I
got no information
I got egcs-1.0.1.tar.gz by ftp, detarred it
and have read the documentation in the directory INSTALLATION.
It seems to me that I have missed the compilation
of the info documentation, because
after having tried to `info -f g77 -M globals`,
I tried to wander in the egcs-1.0.1 directories,
I just found texinfo files that documented the info program.
I think that I have missed some step in the compilation of the
info documentation but I cannot tell for sure, I am not
expert in info, I just can run it from emacs
or from the command line
best regards
Alessandro
On Sun, 11 Jan 1998, Craig Burley wrote:
> > Egcsg77 looks to me very strict:
> >I had already compiled these routines with gnu g77 and
> >a fortran77 on a solaris, and did not get any compilation error.
> > Now one of these routines uses a work space
> >that is an array of float and pass it to another routines that needs
> >a work space of integers.
> > Egcs detects that the two types are differents and gives error.
> >Of course that may save one from bugs now and then , but in this
> >practical case that`s just some memory space, so the type
> >does not matter.
> > May be I am missing some feature, I don`t know
> >if typecasting exists in fortran, or may be I could
> >change the behaviour with some switch.
>
> The reason egcs appears stricter to you is *probably* because
> it is based on g77 0.5.21, and you're not used to using that
> particular version of g77. (Most of the global, or filewide,
> analysis facility was added in 0.5.21 -- including the kind
> of bad-code detection you're talking about.)
>
> Could you report what terms you looked for in the index of the
> g77 documentation, so we can add more entries to help people
> find out about options like -fno-globals?
>
> Also, could you show the diagnostic(s) you got, so we can
> tell which ones need pointers to the relevant portions of the
> document added? (E.g. newer g77 diagnostics contain text
> such as "[info -f g77 M GLOBALS]", which shows the exact command
> to type to find more info on the diagnostic.)
> --
>
> "Practice random senselessness and act kind of beautiful."
> James Craig Burley, Software Craftsperson burley@gnu.org
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: egcs is very strict
@ 1998-01-11 23:08 Robert Williams
0 siblings, 0 replies; 9+ messages in thread
From: Robert Williams @ 1998-01-11 23:08 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2116 bytes --]
--------------EA1FD94D3358EDE89524D051
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Paul D. Robertson wrote:
> On Sun, 11 Jan 1998, N8YDAWG wrote:
>
> > Date: Sun, 11 Jan 1998 15:05:40 EST
> > From: N8YDAWG <N8YDAWG@aol.com>
> > To: axp-list@redhat.com
> > Subject: Re: egcs is very strict
> >
> > DON'T WRITE ME ANY MORE
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
> Which part of the last two lines don't you understand?
This person is probably the victim of a prank
and very likely doesn't have a clue about what
a mailing list is or how to unsubscribe.
It may even be that their address is not subscribed
and that they are receiving mail forwarded from
some erzats subscribed address. It's best, I think,
to be more gentle with folks who unwittinly find
themselves subscribed.
--
Bob Williams, http://bob.usuf2.usuhs.mil/
--------------EA1FD94D3358EDE89524D051
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Paul D. Robertson wrote:
On Sun, 11 Jan 1998, N8YDAWG wrote:
> Date: Sun, 11 Jan 1998 15:05:40 EST
> From: N8YDAWG <N8YDAWG@aol.com>
> To: axp-list@redhat.com
> Subject: Re: egcs is very strict
>
> DON'T WRITE ME ANY MORE
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
Which part of the last two lines don't you understand?
This person is probably the victim of a prank
and very likely doesn't have a clue about what
a mailing list is or how to unsubscribe.
It may even be that their address is not subscribed
and that they are receiving mail forwarded from
some erzats subscribed address. It's best, I think,
to be more gentle with folks who unwittinly find
themselves subscribed.
--
Bob Williams, http://bob.usuf2.usuhs.mil/
--------------EA1FD94D3358EDE89524D051--
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: egcs is very strict
@ 1998-01-12 0:26 Craig Burley
0 siblings, 0 replies; 9+ messages in thread
From: Craig Burley @ 1998-01-12 0:26 UTC (permalink / raw)
> About the documentation:
> yes, I got the
>"[info -f g77 M GLOBALS]"
>message from the compilation process and tried to run it,
> but apparently g77 is missing from my info, and I
>got no information
There are at least two issues here:
- You must use "make install" (or equivalent) to actually copy
the g77 Info documentation to the appropriate Info directory.
(Note that, for this and other reasons, having already configured
gcc+g77 with the `--prefix=/usr' option is best for systems that
don't have their own "native" compiler other than gcc -- like
GNU/Linux.)
- You must update the "master" list of Info files to include an
entry for g77. This file is usually /usr/info/dir. Doing
"make install" *should* do this automatically, but it doesn't
yet in g77's case, because g77 doesn't yet use the `install-info'
command, which is part of the Info subsystem. I hope to change
this soon.
So, after you build gcc+g77, to install the products *and* the
documentation, use "make install" in the build directory. Then
edit the `dir' file in your system's Info directory to add
the appropriate entry for g77 in the appropriate category
("programming", I would think).
>I got egcs-1.0.1.tar.gz by ftp, detarred it
>and have read the documentation in the directory INSTALLATION.
> It seems to me that I have missed the compilation
>of the info documentation, because
>after having tried to `info -f g77 -M globals`,
>I tried to wander in the egcs-1.0.1 directories,
> I just found texinfo files that documented the info program.
>I think that I have missed some step in the compilation of the
>info documentation but I cannot tell for sure, I am not
>expert in info, I just can run it from emacs
>or from the command line
I'm pretty sure egcs is packaged with the Info files intact,
i.e. not requiring you to build them yourself. If that's
not true, you need a recent version of `makeinfo' and such
(see gcc/f/INSTALL for more details). However, I still have
not yet tried egcs myself (strange but true).
Otherwise, `info -f gcc/f/g77.info M GLOBALS' should suffice
to find the pertinent portion of the g77 docs, assuming `gcc'
is the name of your gcc+g77 source directory.
Hope this helps. Packaging is still not something we advertise
as being "excellent" in the GNU world, I'm afraid. ;-)
--
"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson burley@gnu.org
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: egcs is very strict
[not found] <199801120026.TAA03036@melange.gnu.org>
@ 1998-01-12 0:43 ` Alessandro Mirone
0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Mirone @ 1998-01-12 0:43 UTC (permalink / raw)
> Otherwise, `info -f gcc/f/g77.info M GLOBALS' should suffice
> to find the pertinent portion of the g77 docs, assuming `gcc'
> is the name of your gcc+g77 source directory.
OK, I got it!
info -f /usr/local/info/g77
gives me plenty of informations
>
> Hope this helps. Packaging is still not something we advertise
> as being "excellent" in the GNU world, I'm afraid. ;-)
may be because there are so many excellent things,
they are hard to pack all together
thank you again
>
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1998-01-12 0:43 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-11 20:05 egcs is very strict N8YDAWG
[not found] <199801120026.TAA03036@melange.gnu.org>
1998-01-12 0:43 ` Alessandro Mirone
-- strict thread matches above, loose matches on Subject: below --
1998-01-12 0:26 Craig Burley
1998-01-11 23:08 Robert Williams
[not found] <199801111945.OAA02466@melange.gnu.org>
1998-01-11 21:19 ` Alessandro Mirone
[not found] <Pine.SOL.3.91.980111192423.12851A-100000@greco2>
1998-01-11 20:38 ` David van der Spoel
[not found] <10fa9d83.34b92614@aol.com>
1998-01-11 20:35 ` Paul D. Robertson
1998-01-11 19:45 Craig Burley
1998-01-11 18:33 Alessandro Mirone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox