need some clarification/help
Hello everyone
I have a few questions, which i am hoping someone will take some time and help a fellow linux newbie out. I have just recently installed linux (archliunx 64bit) and gnome 2.22. Everything is working wonderful, but when i go ahead and try to install the nvidia graphic drivers, it gives me an error saying that the kernel was compiled with gcc4.2 and i have gcc4.3 installed. I am wondering if recompiling the kernel with gcc4.3 will fix this problem. Also, i have read that gcc4.3 takes advantage of a multi-core processor. I am running a Q6600, and am wondering how can i take advantage of gcc4.3 when having a quad-core? Do i need to setup anything up, does recompiling everything provide a speed improvement? Thanks everyone for the help! |
Quote:
Quote:
As for cpu-specific optimizations, you can do the following for userspace code (kernel code will do it automatically): Code:
-march=core2 Code:
-march=native |
Thanks for the help, and the quick answer
|
I changed the /etc/makepkg.conf to the following:
CFLAGS="-march=native -O2 -pipe" CXXFLAGS="-march=native -O2 -pipe" Do i need the -O2 -pipe or will -march=native be fine? I also changed the MAKEFLAGS to "-j5", now does this mean every time i compile a program, it will give the -j5 option to it? |
Quote:
Quote:
|
All times are GMT -5. The time now is 06:12 AM. |