configure command param

Ming Cheng Ming.Cheng@flextrade.com
Mon Jul 22 06:28:00 GMT 2013


Hi GCC HelpDesk,

According to this web page:  http://www.linuxfromscratch.org/lfs/view/development/chapter06/gcc.html

Is this the recommended configuration for normal platform: 

../gcc-4.8.1/configure --prefix=/usr               \
                       --libexecdir=/usr/lib       \
                       --enable-shared             \
                       --enable-threads=posix      \
                       --enable-__cxa_atexit       \
                       --enable-clocale=gnu        \
                       --enable-languages=c,c++    \
                       --disable-multilib          \
                       --disable-bootstrap         \
                       --disable-install-libiberty \
                       --with-system-zlib

Or GNU has its own recommendation or guide (like typical platform configure params combinations)?

Since C++11 implements  language level thread module,  how should I interpret --enable-threads=posix?

Thanks.

Ming CHENG
20 Cecil Street
#17-02/04 Equity Plaza
Singapore 049705
FlexTrade Systems Pte. Ltd.
D:      +65 6829 2578

www.flextrade.com

       



More information about the Gcc-help mailing list