View previous topic :: View next topic |
Author |
Message |
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Sun Oct 07, 2007 12:17 am Post subject: CFLAGS on Alpha ev67 |
|
|
What is the -mev6 flag and is it really needed if you specify -mcpu=ev67
Also, some packages like freeglut complain about the lack of a -march flag. Is there an appropriate one to use for alpha ev67?
TIA!! _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Sun Oct 07, 2007 6:21 am Post subject: |
|
|
Code: | CHOST="alpha-unknown-linux-gnu"
CFLAGS="-mieee -mcpu=ev67 -Wa,-mev6 -O2 -pipe "
CXXFLAGS="${CFLAGS}"
|
from gentoo safe cflags wiki |
|
Back to top |
|
|
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Sun Oct 07, 2007 1:12 pm Post subject: |
|
|
Am I missing something? Neither your reply, nor that web page say what those flags do. The web page simply lists them as acceptable for this platform. I'm wanting to know what their purpose is. I'm not using the "-Wa,-mev6" flags and my system works perfectly fine.
Edit: when I do add those flags in, things stop compiling. Guess it doesn't matter what they do since they don't work, _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sun Oct 07, 2007 4:08 pm Post subject: |
|
|
Lupin_the_3rd wrote: | I'm wanting to know what their purpose is |
The "-Wa,-mev6" just tells gcc to pass the "-mev6" flag to the assembler. The "-mev6" assembler flag tells the assembler it can use EV6-specific instructions. I didn't find a "-mev6" gcc flag (at least in "info gcc" - maybe it's an old flag that's translated internally into a newer one).
The "-mieee" flag tells gcc you want IEEE-compliant floating point numbers (it seems Alpha CPUs do not have a fully compliant FPU, so they need some software help for specific cases). There is a paragraph about that in "info gcc". |
|
Back to top |
|
|
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Sun Oct 07, 2007 5:07 pm Post subject: |
|
|
Perfect, thanks! _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
|