[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-build e flag



se usi apt-build nel file /etc/apt/apt-build.conf impostando l'opzione mcpu

altrimenti da shell, per esempio io imposto questi:
export CHOST="i686-pc-linux-gnu"
export CFLAGS="-mcpu=athlon-tbird -O2 -pipe -fomit-frame-pointer"
export CXXFLAGS="-mcpu=athlon-tbird -O2 -pipe -fomit-frame-pointer"

una cosa che ho dimenticato: perché passi -fomit-frame-pointer quando è un'opzione che è settata automaticamente da -O2 ??

ho provato con gli export:
- gcc -dumpmachine mi dice ancora i486-ecc
- ottengo ancora tutte quelle linee "checking i486 ecc"
- non riesco a portare a termine la compilazione e ottengo molte videate tipo
configure: WARNING: fcntl.h: present but cannot be compiled
configure: WARNING: fcntl.h:     check for missing prerequisite headers?
configure: WARNING: fcntl.h: see the Autoconf documentation
configure: WARNING: fcntl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: fcntl.h: proceeding with the preprocessor's result
configure: WARNING: fcntl.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
relativi a fcntl.h, signal.h, sys/select.h, sys/signal.h, sys/time.h, sys/wait.h e sstream...

Grazie ancora!

_________________________________________________________________
Scopri il nuovo MSN Htomail - 10MB di allegati http://www.msn.it/hotmail/minisite_10



Reply to: