Feature #38
Need ability to create static and dynamic shared libraries.
Description
Example:
CC=cc LIBNAME=moderr LIBREV=1 LIBVER=1.0.0 TEST=test rm *.out *.o *.a *.0 *.1 test_* *.so # --- dynamic --- $CC -c -fPIC $LIBNAME.c -o $LIBNAME.o $CC -shared -Wl,-soname,lib${LIBNAME}.so.${LIBREV} -o lib${LIBNAME}.so.$LIBVER $LIBNAME.o ldconfig -n . ln -s libmoderr.so.1 libmoderr.so $CC $TEST.c -L. -lmoderr -o ${TEST}_dynamic # --- static --- ar rcs lib${LIBNAME}.a $LIBNAME.o $CC $TEST.c -static -L. -lmoderr -o ${TEST}_static
History
#2
Updated by Kolan Sh over 11 years ago
- Target version set to 2.0.0
#3
Updated by Kolan Sh over 11 years ago
- Target version changed from 2.0.0 to 3.0.0
#4
Updated by Kolan Sh almost 10 years ago
- Priority changed from High to Low
#5
Updated by Kolan Sh over 9 years ago
- Status changed from 5 to New
- % Done changed from 10 to 0
#6
Updated by Kolan Sh about 7 years ago
- Priority changed from Low to Freezed