Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

--march=duron doesn't work

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
brianlane
n00b
n00b
Posts: 1
Joined: Sat Oct 05, 2002 2:00 pm
Location: Seabeck, Wa
Contact:
Contact brianlane
Website

--march=duron doesn't work

  • Quote

Post by brianlane » Sat Oct 05, 2002 2:23 pm

I tried using the --march=duron example in make.conf, but gcc barfed on it. Changing it to i686 works fine, buy why doesn't duron work? This is with Gentoo v1.4 rc1

Brian
---
DigiTemp Author (among other things)
Top
kirill
Apprentice
Apprentice
User avatar
Posts: 183
Joined: Thu Aug 01, 2002 11:18 pm
Location: Finland

Re: --march=duron doesn't work

  • Quote

Post by kirill » Sat Oct 05, 2002 2:29 pm

brianlane wrote:I tried using the --march=duron example in make.conf, but gcc barfed on it. Changing it to i686 works fine, buy why doesn't duron work? This is with Gentoo v1.4 rc1
Why did you think it would work? Maby there is no such architecture as duron. And by the way you should use -march (one line).

For more about compiler flags in gentoo: CFLAGS Central and http://www.freehackers.org/gentoo/gccflags/.
--kirill
Top
El_Presidente_Pufferfish
Veteran
Veteran
User avatar
Posts: 1179
Joined: Thu Jul 11, 2002 11:46 pm
Location: Seattle

  • Quote

Post by El_Presidente_Pufferfish » Sat Oct 05, 2002 2:29 pm

duron = athlon-tbird
new duron(morgan core) = athlon-xp
Top
toni
n00b
n00b
User avatar
Posts: 60
Joined: Wed Sep 25, 2002 3:03 pm
Location: Ljubljana, Slovenia

Browse this

  • Quote

Post by toni » Sat Oct 05, 2002 4:00 pm

It pays to have a look at this page, especially if bootstraping a machine.
http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/

Pay particular attention to this section:
http://gcc.gnu.org/onlinedocs/gcc-3.2/g ... %20Options

On a scale of 1-10, this question recieves a -10.
Image
Top
killah
n00b
n00b
Posts: 1
Joined: Sat Oct 05, 2002 5:18 pm

  • Quote

Post by killah » Sat Oct 05, 2002 5:23 pm

I'm also working but then with the athlon-mp flag and it gives me in the gcc part error like cannot execute 'as' no dir or file found.
Someone can give me hint what is missing or misconfigured.
Top
+-Chaos-
n00b
n00b
Posts: 3
Joined: Sat Oct 05, 2002 4:44 pm

  • Quote

Post by +-Chaos- » Sat Oct 05, 2002 7:17 pm

I tried Duron when I was building my base systen and this never worked so I just used athlon.
Top
El_Presidente_Pufferfish
Veteran
Veteran
User avatar
Posts: 1179
Joined: Thu Jul 11, 2002 11:46 pm
Location: Seattle

  • Quote

Post by El_Presidente_Pufferfish » Sat Oct 05, 2002 7:44 pm

+-Chaos- wrote:I tried Duron when I was building my base systen and this never worked so I just used athlon.
Gah!
a duron IS an athlon with reduced cache!

same architecture!
Top
twfox
n00b
n00b
Posts: 9
Joined: Wed Apr 10, 2002 5:22 pm
Location: Central Coast, CA

  • Quote

Post by twfox » Tue Oct 15, 2002 3:00 pm

El_Presidente_Pufferfish wrote:duron = athlon-tbird
new duron(morgan core) = athlon-xp
I have a mobile duron (1 GHz) laptop. How would I know which of these to use? Should I just use athlon-tbird?

Thanks...
Top
tove
n00b
n00b
Posts: 28
Joined: Fri Oct 11, 2002 1:26 pm

  • Quote

Post by tove » Tue Oct 15, 2002 4:51 pm

Why did you think it would work?
My /etc/make.conf says:
# -march=<cpu-type> means to take full advantage of the ABI and instructions
# for the particular CPU; this will break compatibility with older CPUs (for
# example, -march=athlon-xp code will not run on a regular Athlon, and
# -march=i686 code will not run on a Pentium Classic.
#
# CPU types supported in gcc-3.2 and higher: athlon-xp, athlon-mp, athlon-4,
# athlon-tbird, athlon, duron, k6, k6-2, k6-3, i386, i486, i586 (Pentium), i686
# (Pentium Pro), pentium, pentium-mmx, pentiumpro, pentium2, pentium3, and
# pentium4. Note that Gentoo Linux 1.4 and higher include at least gcc-3.2.

Regards T.
Top
rac
Bodhisattva
Bodhisattva
User avatar
Posts: 6553
Joined: Thu May 30, 2002 6:19 am
Location: Japanifornia
Contact:
Contact rac
Website

  • Quote

Post by rac » Tue Oct 15, 2002 8:10 pm

tove wrote:My /etc/make.conf [...]
...is wrong. Thanks for posting this. duron is not listed in the GCC manual, and athlon-xp, athlon-mp and athlon-4 are.

EDIT: this has already been filed as bug 7899.
For every higher wall, there is a taller ladder
Top
Post Reply

10 posts • Page 1 of 1

Return to “Installing Gentoo”

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