This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cc1plus assembler output for HP-UX 10.20
- To: Jeffrey A Law <law at cygnus dot com>
- Subject: Re: cc1plus assembler output for HP-UX 10.20
- From: Marco Franzen <Marco dot Franzen at Thyron dot com>
- Date: Fri, 31 Mar 2000 11:02:41 +0100
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: Thyron Limited, UK
- References: <8840.954430973@upchuck>
On Thu, 30 Mar 2000, Jeffrey A Law wrote:
> Look at more recent snapshots. I added autoconf support for detecting
> .weak support. THe PA port will now only use .weak if it finds an assembler
> tthat supports it.
Great! I will try the then most recent snapshot when I come back from my trip
after easter. (With a newer gas snapshot it seems to work already, but I won't
be able to tell before I leave. This box takes too long for a full bootstrap.)
BTW, that gcc_ss_2000_03_13 snapshot even generated .weak if configured
--without-gnu-as, although the HP assembler does not support it. But your
general solution should cover this special case. Thanks!
Incidentally, could not configure, in a common solution for all platforms, find
out if GNU as and/or ld are installed and set defaults for
--{with,without}-gnu-{as,ld} automagically?
But maybe long-term development should go in the opposite direction and the
ultimate solution would be feature/property-driven (like your .weak test and
many other configure tests) rather than product-driven (and then replace
-with-gnu... altogether). Different versions of the GNU binutils, and possibly
even of the programs they replace, can have different features, as the .weak
issue shows. At least it would be more in line with the overall autoconf
concept, which has proved useful.
> I'm not sure who put the gcc_compiled symbol back in the assembly output --
> it is not needed at all by the PA tools.
It would be nice if gcc could be bootstrapped on HPPA at all without gas again,
as it used to be, even if the result is inferior (which is better than no
result). Removing just the colon or the whole symbol declaration would be
equivalent for this purpose.
(Maybe that label could fulfil a purpose in the long term if someone added HP
format debug info to gcc (and binutils and gdb). But that does not seem too
likely unless someone like HP sponsored it.)
> jeff
-- Marco
{This message is NOT confidential, no matter what may be auto-appended}
-----------------------------------------------------------------
This email is confidential and intended solely for the use of the
individual to whom it is addressed.
Any views or opinions presented are solely those of the author
and do not necessarily represent those of Thyron Limited.
If you are not the intended recipient then please be advised
that you have received this email in error and that any use,
dissemination, forwarding, printing or copying of this email
is strictly prohibited.
If you have received this email in error, please notify the
Thyron IT Administrator on +44 (0)1923 236 050 or
send an email to mail-admin@thyron.com.
Thank You