* CXX default typing (was RE: help decript nm output.)
@ 2001-05-03 12:39 Rick Gorton
0 siblings, 0 replies; only message in thread
From: Rick Gorton @ 2001-05-03 12:39 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Actually, it may not be a CXX bug; merely a matter of what
the compiler chose in the absense of a specific declaration.
The -unsigned and -signed switches in cxx and ccc can be used
to set the default behavior when [un]signed is missing on a
declaration.
As a general performance tip on Alpha, using unsigned char/short
datatypes is going to be faster than signed char/short, particularly
when compiling for older Alpha machines.
Regards,
Rick
-----Original Message-----
From: Ram Viswanadha [mailto:ram@jtcsv.com]
Sent: Wednesday, May 02, 2001 10:20 PM
To: axp-list@redhat.com
Subject: Re: help decript nm output.
Thanks guys,
That was it! Signed char and char made all the difference. My data types
were
defined incorrectly when using CXX.
Now I can build the libraries and run the tests which seg fault half way
through,
that is expected though (floating point exception, since I havent compiled
with
-ieee option). I still have problems with -ieee and am trying get that
squared
away.
Regards,
Ram
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-03 12:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-03 12:39 CXX default typing (was RE: help decript nm output.) Rick Gorton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox