Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CFLAGS on Alpha ev67
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Lupin_the_3rd
Apprentice
Apprentice


Joined: 03 Apr 2005
Posts: 168

PostPosted: Sun Oct 07, 2007 12:17 am    Post subject: CFLAGS on Alpha ev67 Reply with quote

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
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sun Oct 07, 2007 6:21 am    Post subject: Reply with quote

Code:
CHOST="alpha-unknown-linux-gnu"
CFLAGS="-mieee -mcpu=ev67 -Wa,-mev6 -O2 -pipe "
CXXFLAGS="${CFLAGS}"

from gentoo safe cflags wiki
Back to top
View user's profile Send private message
Lupin_the_3rd
Apprentice
Apprentice


Joined: 03 Apr 2005
Posts: 168

PostPosted: Sun Oct 07, 2007 1:12 pm    Post subject: Reply with quote

:?: 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
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sun Oct 07, 2007 4:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lupin_the_3rd
Apprentice
Apprentice


Joined: 03 Apr 2005
Posts: 168

PostPosted: Sun Oct 07, 2007 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum