build 및 컴파일시 옵션에 대하여 (-L or -I)
작성자 정보
- 전병준 작성
- 작성일
컨텐츠 정보
- 1,947 조회
- 1 댓글
- 0 추천
- 목록
본문
리눅스포털에서 많은 궁금증을 풀어 나가고 있습니다.
답변 주시는 여러분 정말 감사합니다.
다름이 아니라 각종 빌드 시 쓰이는 옵션에 대해 궁금한 게 있는데요.
CPPFLAGS=-I/usr/local/courier-authlib/include ( 소문자 '엘'이 아닌 대문자 '아이' 입니다.)
COURIERAUTHCONFIG=/usr/local/courier-authlib/bin/courierauthconfig
CFLAGS="-DHAVE_OPEN_SMTP_RELAY"; export CFLAGS
env LIBS="-L/usr/lib/mysql -lmysqlclient -lz"
./configure
--prefix=/usr
......
--datadir=/usr/share/courier-imap <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
--sysconfdir=/etc/courier-imap
--libexecdir=/usr/libexec/courier-imap
--localstatedir=/var
--mandir=/usr/share/man
--without-ipv6
예를 들어 위와 같이 빌드를 하고자 할 때,
위에서 빨간색으로 표시한 건 어떤 의미를 뜻하는지요?
혹시 '-L' 은 '~' 랑 같은 뜻을 의미하는 겁니까?
courier-imap (mysql과 연동) 빌드시 사용하는 옵션들입니다.
아시는 분 답변 부탁 드립니다.
감사합니다.
관련자료
-
이전
-
다음
이현철님의 댓글
- 이현철
- 작성일
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
LIBS linker flags, e.g. -l<lib>.{a,so} if you have nonstandard
libraries to link