This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling glibc with a compiler flag


On Sat, Apr 14, 2007 at 11:54:40AM +0300, Metuki Sabhe wrote:
> How can I compile glibc with some additional compiler flags ?

Just tell it to configure, say:
CC=gcc CXX=g++ CFLAGS="-g -O2 -mtune=generic -DNDEBUG=1" \
  ../configure --prefix=/usr --enable-add-ons=nptl,libidn \
  --without-cvs --enable-kernel=2.6.9 --with-headers=/usr/include \
  --enable-bind-now --with-tls --with-__thread --build x86_64-redhat-linux \
  --host x86_64-redhat-linux

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]