View previous topic :: View next topic |
Author |
Message |
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Thu May 16, 2002 2:07 pm Post subject: Compile options (in /etc/make.conf) for a Via C3 processor |
|
|
I'm a Gentoo user for a few months now, and I have to say it's a wonderfull system
But now this: I just bought a new mobo/proc combo for my server: a Via Eden C3 800 mhz mobo/proc combo. I want to install Gentoo on it, but what are the best c-flags in /etc/make.conf ?
edit:
I mean of course the cflags, just like these:
Code: |
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-march=i686 -O3 -pipe"
#CXXFLAGS="-march=i686 -O3 -pipe"
|
|
|
Back to top |
|
|
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Fri May 17, 2002 4:13 am Post subject: |
|
|
Hmm, someone knows this, right? Well, come on |
|
Back to top |
|
|
fillerbunny Guest
|
Posted: Mon May 20, 2002 9:49 pm Post subject: |
|
|
hi cowMike,
how are you getting on with gentoo and eden/c3?
I have just got one and am having problems installing.
I am trying with 1.1a iso and attempting "stage 3" install image.
I get the error "illegal instruction" when running "chroot"
not sure what to do.
|
|
Back to top |
|
|
fillerbunny Guest
|
Posted: Tue May 21, 2002 12:00 pm Post subject: |
|
|
been digging around a bit on this...
in theory i686 should be correct for C3, but I have seen some
evidence that gcc will produce code that may not run on a C3
when using i686...
http://www.linux.ie/pipermail/ilug/2002-February/043054.html
it talks about a CMOV instruction that the C3 does not support,
but is optional in pentium pro/i686 instruction set. This is actually
listed in the "ommited features" section in the C3/ezra datasheet
on vias website. I've tried to look at the gcc documentation today
to see if this is something they are changing/ have changed, but
gcc.gnu.org is unavailable to me today for some reason.
reports suggest that using i586 instead will work. It might be worth
investigating additional use of 3dnow as well.
good luck, let me know how you get on.
[/url] |
|
Back to top |
|
|
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Sat May 25, 2002 8:25 am Post subject: |
|
|
fillerbunny wrote: | hi cowMike,
how are you getting on with gentoo and eden/c3?
I have just got one and am having problems installing.
I am trying with 1.1a iso and attempting "stage 3" install image.
I get the error "illegal instruction" when running "chroot"
not sure what to do.
|
I ordered this computer a week ago, but my package hasn't arrived yet I'll keep you informed |
|
Back to top |
|
|
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Sat May 25, 2002 8:26 am Post subject: |
|
|
fillerbunny wrote: | been digging around a bit on this...
in theory i686 should be correct for C3, but I have seen some
evidence that gcc will produce code that may not run on a C3
when using i686...
http://www.linux.ie/pipermail/ilug/2002-February/043054.html
it talks about a CMOV instruction that the C3 does not support,
but is optional in pentium pro/i686 instruction set. This is actually
listed in the "ommited features" section in the C3/ezra datasheet
on vias website. I've tried to look at the gcc documentation today
to see if this is something they are changing/ have changed, but
gcc.gnu.org is unavailable to me today for some reason.
reports suggest that using i586 instead will work. It might be worth
investigating additional use of 3dnow as well.
good luck, let me know how you get on. |
Hmm, some people say the processor is like an i586 architecture, but I'm not sure about this |
|
Back to top |
|
|
fillerbunny n00b
Joined: 21 May 2002 Posts: 27
|
Posted: Sun May 26, 2002 12:09 pm Post subject: |
|
|
I started again from stage1 and added -march=i586 to the conf file and it's all worked perfectly.
I am going to try it again adding 3dnow as well, since that is not part of i586.
I wonder if "K6" would work.
The C3 is 686 compatible, apart form the CMOV instruction, which is an optional part of 686, but gcc makes it non optional. There was talk on some gcc lists about making a C3 architecture option, but I don't see anything that made it in to the code.
now I am pondering on getting lm_sensor support for the 8231 southbridge. It would be good to monitor the chip temp, especially since there is no temp display in the bios. |
|
Back to top |
|
|
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Sun May 26, 2002 12:36 pm Post subject: |
|
|
Ah, ok.
I always start at stage1 (it's fun ), so I have to do it too. Could you paste the relevant part of /etc/make.conf ? Thx! |
|
Back to top |
|
|
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Sun May 26, 2002 12:36 pm Post subject: |
|
|
fillerbunny wrote: | hi cowMike,
how are you getting on with gentoo and eden/c3?
I have just got one and am having problems installing.
I am trying with 1.1a iso and attempting "stage 3" install image.
I get the error "illegal instruction" when running "chroot"
not sure what to do.
|
Try building from a stage1 or stage2 install image |
|
Back to top |
|
|
fillerbunny n00b
Joined: 21 May 2002 Posts: 27
|
Posted: Sun May 26, 2002 2:54 pm Post subject: |
|
|
here's the lines from /etc/make.conf
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe" |
|
Back to top |
|
|
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Sun May 26, 2002 3:45 pm Post subject: |
|
|
fillerbunny wrote: | here's the lines from /etc/make.conf
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe" |
Thnx! Now waiting for Tuesday for my new server |
|
Back to top |
|
|
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Mon May 27, 2002 2:24 pm Post subject: |
|
|
CowMike wrote: | fillerbunny wrote: | here's the lines from /etc/make.conf
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe" |
Thnx! Now waiting for Tuesday for my new server |
Aha, these are just the values for Pentium/Pentium MMX+ exclusive (requires a Pentium Classic or K6 or beyond) |
|
Back to top |
|
|
fillerbunny n00b
Joined: 21 May 2002 Posts: 27
|
Posted: Mon May 27, 2002 4:10 pm Post subject: |
|
|
CowMike wrote: | CowMike wrote: | fillerbunny wrote: | here's the lines from /etc/make.conf
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe" |
Thnx! Now waiting for Tuesday for my new server |
Aha, these are just the values for Pentium/Pentium MMX+ exclusive (requires a Pentium Classic or K6 or beyond) |
Yes, they are! I am going to do a reinstall from scratch this week.
I can't remember whether the default version of gcc for gento supports -m3dnow. I think that might have only come in in gcc 3.x, which won't
compile everything in gentoo yet (see lots of threads on the subject of
gcc 3.x). |
|
Back to top |
|
|
CowMike n00b
Joined: 16 May 2002 Posts: 52 Location: Ede, NL
|
Posted: Mon May 27, 2002 5:32 pm Post subject: |
|
|
fillerbunny wrote: | CowMike wrote: | CowMike wrote: | fillerbunny wrote: | here's the lines from /etc/make.conf
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe" |
Thnx! Now waiting for Tuesday for my new server |
Aha, these are just the values for Pentium/Pentium MMX+ exclusive (requires a Pentium Classic or K6 or beyond) |
Yes, they are! I am going to do a reinstall from scratch this week.
I can't remember whether the default version of gcc for gento supports -m3dnow. I think that might have only come in in gcc 3.x, which won't
compile everything in gentoo yet (see lots of threads on the subject of
gcc 3.x). |
Ok I'll receive my mobo tomorrow (I hope ), so I'm doing a fresh install then Someone tips for installing? |
|
Back to top |
|
|
|