|
|
我安装了开源的一个软件(eXosip),解压后的程序中有configure文件,该程序我已经编译通过(./configure后,make)并产生了可执行文件,但是这个文件并不能用gdb调试,说格式不正确,我不知道如何使用configure命令可以生成可以调试的程序?高手们讲讲吧,多谢拉
我./configure --help输出如下:
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-shared[=PKGS]
build shared libraries [default=yes]
--enable-static[=PKGS]
build static libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-josua compile josua.
--enable-tools compile tools programs.
--enable-glib compile josua with glib (yes).
--enable-ms compile with mediastreamer (yes).
--enable-ortp compile for ortp only (no).
--enable-ucl compile for ucl only (no).
--enable-debug turn on debugging (yes).
--enable-trace turn on trace (yes).
--enable-mpatrol turn on memory leak detection with patrol.
--enable-pthread enable support for POSIX threads. (autodetect)
--enable-semaphore enable support for semaphore (semaphore.h)
--enable-sysv enable support for sysV semaphore (sys/sem.h).
--disable-ncurses turn off ncurses support.
--enable-ntimer enable new timer facility. (default yes)
--disable-phapi turn off phapi library generation.
--enable-miniua compile miniua.
--disable-gsm turn on gsm codec support.
--disable-ilbc turn on ilbc codec support.
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-tags[=TAGS]
include additional configurations [automatic]
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
F77 Fortran 77 compiler command
FFLAGS Fortran 77 compiler flags |
|