Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on Alternative Architectures
  • Search

CFLAGS on Alpha ev67

Post here for other supported architectures, or if you are interested in porting Gentoo to a currently unsupported architecture.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Lupin_the_3rd
Apprentice
Apprentice
User avatar
Posts: 168
Joined: Sun Apr 03, 2005 6:40 pm

CFLAGS on Alpha ev67

  • Quote

Post by Lupin_the_3rd » Sun Oct 07, 2007 12:17 am

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)
Top
Dottout
l33t
l33t
User avatar
Posts: 882
Joined: Tue Mar 07, 2006 6:38 pm

  • Quote

Post by Dottout » Sun Oct 07, 2007 6:21 am

Code: Select all

CHOST="alpha-unknown-linux-gnu"
CFLAGS="-mieee -mcpu=ev67 -Wa,-mev6 -O2 -pipe "
CXXFLAGS="${CFLAGS}"
from gentoo safe cflags wiki
Top
Lupin_the_3rd
Apprentice
Apprentice
User avatar
Posts: 168
Joined: Sun Apr 03, 2005 6:40 pm

  • Quote

Post by Lupin_the_3rd » Sun Oct 07, 2007 1:12 pm

:?: 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)
Top
widan
Veteran
Veteran
User avatar
Posts: 1512
Joined: Tue Jun 07, 2005 4:26 pm
Location: Paris, France

  • Quote

Post by widan » Sun Oct 07, 2007 4:08 pm

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".
Top
Lupin_the_3rd
Apprentice
Apprentice
User avatar
Posts: 168
Joined: Sun Apr 03, 2005 6:40 pm

  • Quote

Post by Lupin_the_3rd » Sun Oct 07, 2007 5:07 pm

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)
Top
Post Reply

5 posts • Page 1 of 1

Return to “Gentoo on Alternative Architectures”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic