
for cflags see: http://gentoo-wiki.com/Safe_Cflags#Inte ... 1xx.2F53xxneurolepsia wrote:what cflags do you suggest to me for this install?

This part is up to you. It depends if you want to end up with a 64bit system or a 32bit system.neurolepsia wrote:have I to get install amd64 cd or install x86 cd?


64bit support will be enabled by default, but you might want to make sure you enabled IA32 Emulation if you're planning on running 32bit apps. when gcc-4.3 becomes stable we will be able to benefit from -march=core2.neurolepsia wrote:when -march=core2 will be able? and... another question. During installation, Will have I some problems if I'll use genkernel, or kernel support for 64 is actived by default?
Sometimes the Gentoo-wiki's are great - Sometimes they are not so great. The problem for me has always been in determining which class a specific wiki is in.neurolepsia wrote:Isn't there anythin' that isn't gentoo-wiki? I don't like it and I'm hoping to get some infos from Core 2 duo users ^^
Code: Select all
So, final answer. If you're using GCC 4.1, use -march=prescott for Intel Core Solo/Duo and -march=nocona (and an amd64 profile) for Core 2 Solo/Duo. For GCC 4.2, a Core Solo/Duo should use -march=prescott -mtune=generic, and Core 2 Solo/Duo should be set to -march=nocona -mtune=generic.Code: Select all
gcc-4.1*: "-march=nocona"
gcc-4.2*: "-march=nocona -mtune=generic"
gcc-4.3*: "-march=core2"
1) Your computer should shut down automatically if your cpu temperature starts getting too high (although that has yet to happen on my C2D MacBook).neurolepsia wrote:only other two questions:
1) Can I compile without problems also if my pc is a notebook? Aren't there any problems such as cpu too much hot and related?
2) If I'll use genkernel I'll get a working system with all REQUIRED supports and modules enabled, won't I ?
thanks a lot
bye
bubbl07 wrote:From http://psykil.livejournal.com/2006/12/03/:gcc-4.3 will add support for the ssse3 instruction set (with the -mssse3 flag, or autoincluded with -march=core2), so this is what I have used, use, and will use:Code: Select all
So, final answer. If you're using GCC 4.1, use -march=prescott for Intel Core Solo/Duo and -march=nocona (and an amd64 profile) for Core 2 Solo/Duo. For GCC 4.2, a Core Solo/Duo should use -march=prescott -mtune=generic, and Core 2 Solo/Duo should be set to -march=nocona -mtune=generic.I also usually use "-fomit-frame-pointer" (on x86) and "-O2 -pipe" (on x86 and x86_64). It's safe. It works.Code: Select all
gcc-4.1*: "-march=nocona" gcc-4.2*: "-march=nocona -mtune=generic" gcc-4.3*: "-march=core2"
I mean, I guess so, but the only difference between nocona and prescott is EM64T, and (i686-pc-linux-gnu-)gcc is smart enough to figure out not to compile 64-bit code when compiling 32-bit software even with -march=nocona.michel7 wrote:Nocona is for 64 bit only! For x86 you still have to use prescott with gcc4.2
Code: Select all
ash@ryu ~ $ touch test.c && gcc -v -c test.c -o test -O2 -march=nativeThe output from less /proc/cpuinfo saysCHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
I am using gcc-4.1.2 When I try and compile I get errors like:vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
stepping : 6
do what Paapaa suggested and that's the only way to go 64bits, you can't compile 64bit code in a 32bit environment, but you can compile 32bit code in a 64bit environment. backup your configuration files and boot from the amd64-livecd and start from scratch.mxc wrote:I have been following this thread but can't get my machine to compile 64 bit. I have a machine that was installed with 32 bit. I have donwloaded the amd64 min iso and booted off of that. I then chroot into my current installation and I am attempting to upgrade by doing a emerge -e world.
"c compiler cannot create executables'
Whats up? How do I upgrade my system?
thanks

Code: Select all
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
ALSA_CARDS="snd-hda-intel"
LIRC_OPTS="--with-driver=mceusb2"
LIRC_DEVICES="mceusb2"
VIDEO_CARDS="nvidia"
Code: Select all
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
stepping : 6
cpu MHz : 1667.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3330.00
clflush size : 64

To achieve a 64 bit environment, you absolutely HAVE to boot from a 64 bit livecd/install cd AND install a 64 bit stage. (OK, it is possible to convert from 32 bits to 64, I've done it, but it's fraught with problems and you really need to know your Gentoo stuff). Once you have that 64 bit stage file installed, everything should be plain sailing for a full 64 bit install.meitnerium wrote:Someone can show me the correct configuration for 64 bit compilation?