Mixing GCC (libg++) and X11 shared libs ?

Mixing GCC (libg++) and X11 shared libs ?

Post by Ravi Sompal » Wed, 12 May 1993 09:55:25



Hi Linuxers,

I am working on an X11 graphics program in Linux using C++. With g++, I am
able to compile and link C and C++ code with the static X11 libraries. The
resulting program runs as expected. Trying to run the program after linking
with the shared libs (jump tables) produces a core dump.

        linux:  0.99pl4 (SLS)
        g++  :  2.3.3
        libs :  libc.so.4.2 (Jump Table 4.2)
                libX11.so.2.0 (Classic 2.0)
                libg++

Is it possible to use g++ with shared libs ?

thanks,
ravi s

 
 
 

1. /usr/lib/gcc-lib/i386-linux and /usr/lib/gcc-lib/i486-linux

Hi Linuxers,

I just got a new copy of gcc-2.4.5 and source code of the pl11.
After having done the installation of gcc-2.4.5, I realised that
I have an extra directory: /usr/lib/gcc-lib/i386-linux.
The question is whether I need to keep the old gcc stuff under
the i386-linux.  I really like to clean it up so as to save 5.1
meg disk space (another poor Linux user  ;-( ).

Your answer is very appreciated.  Please send answer directly
to my address or the corresponding interest parties to reduce
the network load.  Thank you in advance.

Wing



2. panic: Page Fault in Solarix 7 x86

3. /usr/X386/lib/X11 <-> /usr/lib/X11

4. Apache ~ user directories?

5. Documentation for libg, libg++, svga lib

6. Intranet security

7. building libg++-2.7.0 as shared lib.

8. Gigabyte GA-6vxdr7 SMP barfs with 2.2.17

9. Upgrading to 4.6.2...X11 config in /usr/X11R6/lib/X11 or /etc/X11?

10. linking (mixing shared libs and static archives)

11. Is there any known problem with mixed sparc C++ compiler and gcc compiled static lib

12. Mixing shared libs for different architectures

13. mixing g++ libs with CC libs?