Fri Dec 17 17:22:00 GMT 2004
That can depend on what platform your running on and which version of
GCC you're using. You also probably don't what to change CFLAGS.
Usually LDFLAGS is used for specifying linking options. However,
generally, the most common options to use for creating a shared library
are '-G' and '-shared'. Try -G first. If that doesn't work. Try
'-shared'. Don't use both at the same time.
From: email@example.com [mailto:firstname.lastname@example.org] On
Behalf Of Craig Phillips
Sent: Friday, December 17, 2004 4:42 AM
Subject: Compiling libraries
What amendments should i make to the Makefile CFLAGS in order to get it
the objects into a library .so? I have modified a program so it can be
dynamically as a library but am having trouble determining what to amend
More information about the Gcc-help