Jump to content

Оптимизация под архитектуру процессора


Recommended Posts

Заменяю так, чтоб

g++ -c users.cpp -O2

было, к примеру, как

g++ -c users.cpp -pipe -Wall -O2 -march=athlon -mtune=athlon-xp

 

И тогда получаю:

g++ -pipe -Wall -O2 -march=athlon -mtune=athlon-xp -Wall -fPIC -I /usr/src/RPM/BUILD/stg-2.4-2007.10.12-15.36.05/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_strptime.cpp

gmake[2]: *** No rule to make target `-lstg_crypto', needed by `libstg_common'. Stop.

 

Что я делаю не так?

Можно, конечно, собирать и так, это не критично для себя, но в дистрибутив недопустимо.

Link to post
Share on other sites

Попробуйте gmake без распараллеливания (MAKEOPTS=-j1)

Такое, обычно, происходит когда libstg_common.so успевает собраться до libstg_crypto.so

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...