* HP-UX 11.00 linkage questions
@ 2001-07-02 3:15 Richard Davies
0 siblings, 0 replies; only message in thread
From: Richard Davies @ 2001-07-02 3:15 UTC (permalink / raw)
To: gcc-help
Hi,
To start with..
I've built gcc 3.0 for vanilla HP-UX 11.00 (btw ltconfig breaks in the
section starting line 779 when finding maximum length of command line
arguments when configuring libstdc++-v3).
Everything works fine and I am more than pleased at only having to add
one line direct to the config cache files to fix this, compared to some
previous gcc versions.
My question(s) are related to linkage though and this may not be
possible at all.. but anyway, here we go.
I want to use gcc to compile all my source files, but use native aCC (
ld) to link them as there are several 3rd party ISV libraries that I
want to link to but alas have been built with aCC.
I notice a couple of interesting switches, -fno-gnu-linker and -funwind-
table. I don't pretend to know a lot about collect2 and the way gcc
creates global code for object construction, but after using those
switches, and linking (I assume gcc collect2 uses the native ld anyway
hence the general compatability of symbols) I am still left with
_Unwind_SjLj_Register
_Unwind_SjLj_Resume
_Unwind_SjLj_Unregister
Linking against libgcc will naturally fix this, but also naturally it
breaks the executable. This is with a dead simple dummy class and an
equally trivial main in a different translation unit. I was rather
hoping the -funwind-tables and -fno-gnu-linker would do away with this
particular hardship.
Advise would be appreciated, particulary the 'can this be done'
question. If it can't be done easily, what do I need to know to build
that collection of (presumably sjlj exception style) handlers ?
--
--
RichyBoy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-02 3:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-02 3:15 HP-UX 11.00 linkage questions Richard Davies
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).