oddabe19
April 28th, 2005, 02:37 AM
So, here's my question....
i download a source tarbal for program XXXXXXX.
I unpack it
run autoconf
./configure
then I do this
oddabel@ubuntu:~ $ make CFLAGS="-march=athlon-xp -pipe -O2"
i was wondering if that actually did anything.... the display looks like it adds it in, but i was almost certain that i had to do a gcc programx file.c with the optimizations for anything to be optimized.
So, long story short, did that make cflags actually do anything to help with optimizations?
if it does, is there a file i can edit (an equivalent to /etc/make.conf in gentoo) to bring those optimization on every program i compile?
i download a source tarbal for program XXXXXXX.
I unpack it
run autoconf
./configure
then I do this
oddabel@ubuntu:~ $ make CFLAGS="-march=athlon-xp -pipe -O2"
i was wondering if that actually did anything.... the display looks like it adds it in, but i was almost certain that i had to do a gcc programx file.c with the optimizations for anything to be optimized.
So, long story short, did that make cflags actually do anything to help with optimizations?
if it does, is there a file i can edit (an equivalent to /etc/make.conf in gentoo) to bring those optimization on every program i compile?