Re: autoconf check for building shared library

2016-04-02 Thread Bob Friesenhahn
On Sat, 2 Apr 2016, Will Parsons wrote: I amm interested in an autoconf solution, not involving e.g., automake or libtool. You should be able to take advantage of macros from libtool without actually using libtool itself. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simpl

autoconf check for building shared library

2016-04-02 Thread Will Parsons
During the course of attempting to develop a ruby gem C extension, I came upon the following error trying to build a simple C library on a FreeBSD system: linking shared-object gdi.so /usr/bin/ld: /home/william/lib/libWinspool.a(winspool.o): relocation R_X86_64_PC32 against `memset@@FBSD_1.0' can