1

Question about optimizations

view story
linux-howto

http://www.linuxquestions.org – I know it's not recommended to use optimizations, but I want to ask anyway. My main desktop computer at home has Intel i3. I've been using '-march=native' (which should be the same as corei7), and it's running very well. I want to have the same system on some other machines, those I know about now has core2. Until now I have compiled everything twice, but I'm beginning to think this is too much. I recompiled everything with 'CFLAGS="-O2 -march=corei7 -mtune=generic"', thinking this should run on all 64-bit machines, but still have some extra features for my i3-machine. I instal (HowTos)