Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
which stage is pentium-m cpu use??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
nathaniel
n00b
n00b


Joined: 13 Jul 2003
Posts: 42

PostPosted: Wed Apr 06, 2005 10:53 am    Post subject: which stage is pentium-m cpu use?? Reply with quote

i have found gentoo FQA said pentium-m is pentium-3 + sse meaning like pentium-4~~so i use pentium-3 stage or pentium-4 stage?? my friend said pentium-3 maybe fixed
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Wed Apr 06, 2005 11:00 am    Post subject: Reply with quote

I suggest you take a pentium3 stage3, do a basic installation.
Emerge gcc-3.4.3
Change to gcc-3.4.3 compiler with gcc-config
Adapt your "/etc/make.conf" to something like this:
Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

emerge -eD world

DANGER:
Do NOT use the -msse2 or the -march=pentium-m with the gcc-3.3.5 as the sse2 code is broken and pentium-m is not yet supported in this version.
Back to top
View user's profile Send private message
nathaniel
n00b
n00b


Joined: 13 Jul 2003
Posts: 42

PostPosted: Wed Apr 06, 2005 11:21 am    Post subject: Reply with quote

inode77 wrote:
I suggest you take a pentium3 stage3, do a basic installation.
Emerge gcc-3.4.3
Change to gcc-3.4.3 compiler with gcc-config
Adapt your "/etc/make.conf" to something like this:
Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

emerge -eD world

DANGER:
Do NOT use the -msse2 or the -march=pentium-m with the gcc-3.3.5 as the sse2 code is broken and pentium-m is not yet supported in this version.


i write the install step here,may you check the step for me??
1 untar stage3
2 do some setting. eg:/etc/hosts /etc/resolv.conf and so on
3 (i don't want to untar portage,i want to use the newer portage tree) emerge --sync
4 emerge gcc-3.4.3
5 adapt /etc/make.conf with your suggestion
6 emerge -eD world
7 emerge some package like X KDE....

what i do below is ok??
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Wed Apr 06, 2005 12:00 pm    Post subject: Reply with quote

After untar stage3 (pIII) and emerge sync you have to emerge these packages and compile a kernel before reboot (complete a basic installation in former post)
Code:
emerge syslog-ng vixie-cron dhcpcd gentoo-sources grub reiserfsprogs hotplug

Go with gentoo handbook for completing the installation here.
Reboot into your new unoptimized gentoo. (no livecd needed anymore)
Continue here from your step 4.
When you adapt /etc/make.conf change the use flags too as this is a good time to do it before the complete recompilation.
Back to top
View user's profile Send private message
LordBug
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jan 2003
Posts: 88

PostPosted: Wed Apr 06, 2005 2:42 pm    Post subject: Reply with quote

Add the following to /etc/portage/package.keywords
Code:
sys-devel/gcc ~x86
sys-devel/gcc-config ~x86
sys-libs/libstdc++-v3 ~x86
sys-libs/glibc ~x86


and issue "emerge gcc-config glibc binutils gcc" to re-build your toolchain. This will get you GCC 3.4.3 and everything you need.

Then you should be able to do/see somthing like this:
Code:
# gcc-config -l
[1] i686-pc-linux-gnu-3.3.5 *
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.3-20050110
[6] i686-pc-linux-gnu-3.4.3-20050110-hardened
[7] i686-pc-linux-gnu-3.4.3-20050110-hardenednopie
[8] i686-pc-linux-gnu-3.4.3-20050110-hardenednossp


"gcc-config 5" will most likely (check your GCC list!) switch you to 3.4.3. Then run "env-update && source /etc/profile" so everything else switches to gcc 3.4.3. Now you can update your /etc/make.conf with pentium-m march and mtune. After this, you'll want to do an "emerge -uD world" to re-compile everything with gcc 3.4.3 Note that this is NOT a fast process.
Back to top
View user's profile Send private message
nathaniel
n00b
n00b


Joined: 13 Jul 2003
Posts: 42

PostPosted: Thu Apr 07, 2005 6:21 am    Post subject: Reply with quote

thank you very much for inode77 and LordBug, i will try later...

emerge gcc-config glibc binutils gcc == emerge gcc-3.4.3???
if i just emerge gcc-3.4.3 and the gcc-config glibc binutils will auto emerge ???
Back to top
View user's profile Send private message
AlchEmysT
n00b
n00b


Joined: 19 Feb 2005
Posts: 69
Location: California, US

PostPosted: Thu Apr 07, 2005 6:45 am    Post subject: Reply with quote

Quote:
emerge gcc-config glibc binutils gcc == emerge gcc-3.4.3???
if i just emerge gcc-3.4.3 and the gcc-config glibc binutils will auto emerge ???

No they wont emerge automatically.

...and I'd suggest not doing what they're telling you. It's actually the stage1 on 3 with gcc343 advanced install method. search for it on the forums. It's very complicated and takes a really long time definately not for noobs. do a standard stage3 install use the pentium3 tarball. p3 or p4 doesn't make that big of a difference. p3 if you're not sure.
_________________
- http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml -

http://isnoop.net/gmail/
give / get - gmail invites
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Apr 30, 2005 11:21 am    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-t-310372.html

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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