public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs and shared LIBS on AIX4.1.5
@ 1999-03-17  2:49 Groove, Christian
       [not found] ` < 81A51A42F329D211904E00A0C9D8E2A0272340@falke.norcom.de >
  1999-03-31 23:46 ` Groove, Christian
  0 siblings, 2 replies; 4+ messages in thread
From: Groove, Christian @ 1999-03-17  2:49 UTC (permalink / raw)
  To: egcs-bugs; +Cc: egcs

Hello

i have got a serious problem with the egcs compiler, that also
affects the g++ compiler on the AIX4.1.5 (others too) operating
system.
 
I would like to create shared libraries on that plattfrom written
of course in C++. I would also like to use global (instantiated)
objects/classes, that should be automatically instantiated, when 
the shared lib gets loaded.
This task is a general problem for AIX (with their braindead XCOFF)
linker, true ELF linkers (Linux Solaris) do not have any problems 
with this, provided that you have a good C++ compiler installed 
(i.e. egcs)

OK, IBM also offers an C++ compiler, and in order to get a workaround
they introduced so called priorities pragmas and a ld-linker wrapper,
that helps to create shared libs. 
Due to the poor debugging support and the limited language capabilities
of the IBM compiler, i would like to switch to egcs/g++ and gdb/ddd.

Now the question, who do i introduce priorities in g++, so that the
linker remarks the C++ classes as to be initialized, when the shared
lib gets loaded. 

Thanks in advance

Christian Groove



Christian Groove
NorCom GmbH
81929 Muenchen, Stefan-George-Ring 6
Tel.: + 49 89 93948 271  Fax: + 49 89 93948 111
Mail: groove@norcom.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-03-31 23:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-17  2:49 egcs and shared LIBS on AIX4.1.5 Groove, Christian
     [not found] ` < 81A51A42F329D211904E00A0C9D8E2A0272340@falke.norcom.de >
1999-03-17 18:49   ` David Edelsohn
1999-03-31 23:46     ` David Edelsohn
1999-03-31 23:46 ` Groove, Christian

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).