parsed.org

Tips by tag: compilation

Apache and DSO Support by cygnus on Jan 12, 2005 11:03 AM

Use this configure line to configure Apache with all available shared modules:

./configure ... --enable-shared=max
apachecompilationshared-modules
Compile with EAPI by xinu on Mar 18, 2005 01:34 PM

If you need to compile Apache with EAPI, this is one way to get it going:

# CFLAGS="-DEAPI" ./configure --enable-shared=max
apachecompilationeapi
Specifying Runtime Linkage Paths by cygnus on Dec 31, 2005 03:51 PM

You can specify the search path(s) used by ld at runtime to find shared objects by building your program with the -rpath option:

$ gcc -Xlinker -rpath -Xlinker /path/to/my/libraries filename.c

This is the equivalent of:

$ ld -rpath /path/to/my/libraries filename.o
ccommandscompilationgcclanguagesldlinkingprogramming
RSS