1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
libtool --mode=compile gcc -g -O -c regex.c
libtool --mode=link gcc -g -O -o libregex.la regex.lo -rpath /usr/local/lib -lm
libtool --mode=link gcc -g -O -o regex regex.o libregex.la
libtool --mode=install install -c libregex.la /usr/local/lib
libtool --mode=install cp regex /usr/local/bin/regex
libtool --mode=finish regex /usr/local/bin/regex
ar t /usr/local/lib/libregex.a
nm -s /usr/local/lib/libregex.a
ls -la /usr/local/lib/libregex.a
# $ libtool --mode=finish -n /usr/local/bin/regex
# ----------------------------------------------------------------------
# Libraries have been installed in:
# /usr/local/bin/regex
# $ ls -l /usr/local/lib/libregex.a
# -rw-r--r-- 1 Jean Pierre None 69122 Apr 14 16:37 /usr/local/lib/libregex.a
# $ nm -s /usr/local/lib/libregex.a
# Archive index:
# _re_set_syntax in regex.o
# _re_compile_fastmap in regex.o
# _re_set_registers in regex.o
# _re_search in regex.o
# _re_match in regex.o
# _re_compile_pattern in regex.o
# _re_comp in regex.o
# _re_exec in regex.o
# _regcomp in regex.o
# _regexec in regex.o
# _regerror in regex.o
# _regfree in regex.o
# _re_match_2 in regex.o
# _re_search_2 in regex.o
# _re_syntax_options in regex.o
# _re_max_failures in regex.o
# regex.o:
# 00000000 b .bss
# 00000000 d .data
# 00000000 r .rdata
# 00000000 N .stab
# 00000000 N .stabstr
# 00000000 t .text
# U __alloca
# U __imp____ctype_ptr__
# U _abort
# 00005311 t _alt_match_null_string_p
# 00002e5b t _at_begline_loc_p
# 00002eb7 t _at_endline_loc_p
# 00005494 t _bcmp_translate
U _bcopy
# 0000537d t _common_op_match_null_string_p
# 00002f67 t _compile_range
U _free
# 00002f3c t _group_in_compile_stack
# 000051df t _group_match_null_string_p
# 00000000 t _init_syntax_once
# 00002dde t _insert_op1
# 00002e19 t _insert_op2
# U _malloc
# U _memset
# 0000550b T _re_comp
# 00000118 b _re_comp_buf
# 0000304c T _re_compile_fastmap
# 000054cf T _re_compile_pattern
# 00000000 d _re_error_msg
# 000055cf T _re_exec
# 000036d9 T _re_match
# 0000371c T _re_match_2
# 00000044 D _re_max_failures
# 0000341e T _re_search
# 00003468 T _re_search_2
# 000033d7 T _re_set_registers
# 00000074 T _re_set_syntax
# 00000000 B _re_syntax_options
# 00000018 b _re_syntax_table
# U _realloc
# 0000561b T _regcomp
# 00005881 T _regerror
# 00000087 t _regex_compile
# 0000573a T _regexec
# 00005900 T _regfree
# 00002d9e t _store_op1
# 00002db7 t _store_op2
# U _strcpy
# U _strncpy
# U _tolower
# 00000008 b done.0 |
Partager