On 9/30/05, Doug Ronne <[EMAIL PROTECTED]> wrote: > the SDL Makefile has -march=pentium -mcpu=pentiumpro optimization > flags appended to whatever CFLAGS options you have set. How does gcc > react to conflicting -march flags?
Not sure, but I think it uses the last option specified. This is the case for -O. From gcc documentation: If you use multiple -O options, with or without level numbers, the last such option is the one that is effective. Conficting flags must not be a problem since -march implies -mcpu and from the your statement, they first set -mcpu=pentium then -mcpu=pentiumpro. I would image the last option specified is taken. In this case, you might want to be careful because if the SDL maintainers are placing your CFLAGS before their CFLAGS, it may be because the above options produce stable code. Does it break if you edit out the options? Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
