Saturday, March 18, 2023

Digest for comp.lang.c++@googlegroups.com - 2 updates in 2 topics

"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Mar 18 12:03PM -0700

On 5/12/2022 12:16 PM, Chris M. Thomasson wrote:
> Using my experimental vector field to generate a fractal formation. Here
> is generation two:
 
> https://fractalforums.org/gallery/1612-120522191048.png
 
Morphing a 2d Maskit fractal into a fractal that has an overall
Mandelbrot like shape:
 
https://fractalforums.org/gallery/1612-180323190124.jpeg
Frederick Virchanza Gotham <cauldwell.thomas@gmail.com>: Mar 18 08:26AM -0700

Yesterday I wrote:
> I might have this finished today. It's taking ages to rename all the
> symbols in static library files -- it's still not finished doing that.
 
Holy crap I got this working just now. Here's how my executable file looks:
 
$ readelf -a ./ssh | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
$ ldd ./ssh
linux-vdso.so.1 (0x00007ffd28d58000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f632db77000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f632d94f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f632efd7000)
 
At runtime, it uses 'dlopen' to try to dynamically load libgtk-3.so', and if it succeeds, the GTK3 gui is shown. If it fails, then instead it loads libX11.so' and displays the X11 gui.
 
What I have here is an executable file which is linked statically with two different versions of wxWidgets, specifically:
* gtk3-unicode-static-3.2
* x11univ-ansi-debug-static-2.8
 
If neither GTK3 nor X11 is installed, the executable can still be used as a simple console program.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: