View previous topic :: View next topic |
Author |
Message |
snekiepete Guru


Joined: 07 May 2003 Posts: 306 Location: WISCONSIN
|
Posted: Tue Jun 24, 2003 11:11 pm Post subject: Cflags question |
|
|
I have done quite abit of searching for this issue and have not found anything specific about this, is it beneficial to have -march=XXXXX and -mcpu=XXXXX in the cflags section? or should it just be one or the other.
does anyone have any recommendatins for a mobile celeron 1.2 ghz? |
|
Back to top |
|
 |
Rick Tux's lil' helper


Joined: 18 Dec 2002 Posts: 141
|
Posted: Tue Jun 24, 2003 11:24 pm Post subject: |
|
|
yes, it does speed up the compiling
look here for the settings _________________ Have you ever noticed how stable windows is?
Neither have I  |
|
Back to top |
|
 |
snekiepete Guru


Joined: 07 May 2003 Posts: 306 Location: WISCONSIN
|
Posted: Tue Jun 24, 2003 11:35 pm Post subject: |
|
|
so how does this look?
cflags="-march=pentium3 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -mmmx" |
|
Back to top |
|
 |
paranode l33t


Joined: 06 Mar 2003 Posts: 679 Location: Texas
|
Posted: Wed Jun 25, 2003 2:20 am Post subject: |
|
|
snekiepete wrote: | so how does this look?
cflags="-march=pentium3 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -mmmx" |
Just depends on what you're looking for. -march will imply -mcpu of the same type unless specified as you've done. Your settings will eliminate the integer overflow thing with GCC 3.2.2, but possibly at the expense of speed. I've never had problems with -march=pentium4. -mmmx probably won't do anything as GCC doesn't really use that flag, since the necessary stuff is implied with -march. _________________ Meh. |
|
Back to top |
|
 |
snekiepete Guru


Joined: 07 May 2003 Posts: 306 Location: WISCONSIN
|
Posted: Wed Jun 25, 2003 2:35 am Post subject: |
|
|
I have had some compilation problems with -march=pentium4. I have had a hard time finding out what exactly I should use here. My cat /proc/cpuinfo does not give me any good information based on the searches I've done so far. I would post my output, but I am compiling at the moment. |
|
Back to top |
|
 |
pi-cubic Tux's lil' helper


Joined: 25 May 2003 Posts: 143
|
Posted: Wed Jun 25, 2003 9:57 am Post subject: |
|
|
you can change (X11) with ctlr+alt+fxx your terminal, a compilation-process is no barrier as long as you don't change some system-settings affecting the compilation. |
|
Back to top |
|
 |
|