View previous topic :: View next topic |
Author |
Message |
mssanchu Tux's lil' helper
Joined: 28 Sep 2004 Posts: 112
|
Posted: Thu Oct 07, 2004 7:34 am Post subject: doubts regarding flags |
|
|
can anyone explain me abt CHOST , CFLAGS, CXXFLAGS. actually it is mentioned that they are used to configure gcc sepcs. i got intel 845 ge P4 what should configure these flags with?
i got dialup modem what should i do to make emerge work during installation time (wud ppp be of some help?)
i chose "gentoo" for kernel, is that 2.4 ?
i got a lan card too how to install it "emerge ?"
i got onboard sound card(AC'97) in it what should i give "emerge ?"
also i need more help for my vga card nVidia TNT 32M
thanks in advance...... |
|
Back to top |
|
|
Radhek n00b
Joined: 02 Jun 2003 Posts: 70 Location: Paris - France
|
Posted: Thu Oct 07, 2004 8:00 am Post subject: |
|
|
Hi,
1) CHOST defines what your host is, that is, what is your computer (pentium, P4, alphe, ppc...). This should read : i686-pc-linux-gnu
CFLAGS and CXXFLAGS are the options you give to the compiler (gcc), in order to compile, respectively, C and C++ programs. I too have a P4, mine are :
Code: | -march=pentium4 -O2 -pipe -fomit-frame-pointer -msse2 -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops |
2) If you chose gentoo-sources, it's a 2.4 kernel, if you chose gentoo-dev-sources, it's a 2.6 kernel.
3) Your NIC, and soundcard should be configured by recompiling the kernel with the appropriate options. Emerge has nothing to do with it.
4) You can set up your video card two ways :
- Use the X drivers, which is called nv (nothing to emerge, just specify nv in the Driver option of the Device section of the X config file).
- Use the nvidia proprietary driver, you'll have to emerge nvidia-kernel and nvidia-glx, and put "nvidia" in the Driver option of the Device section of the X confg file. The nvidia driver is an independent module that you will have to load manually, at least the first time. Contrary to the nv driver shipped with X, it supports hardware acceleration.
-- Radhek |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Thu Oct 07, 2004 8:55 am Post subject: |
|
|
Radhek wrote: | CFLAGS and CXXFLAGS are the options you give to the compiler (gcc), in order to compile, respectively, C and C++ programs. I too have a P4, mine are :
Code: | -march=pentium4 -O2 -pipe -fomit-frame-pointer -msse2 -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops |
|
No person new to gentoo should be using those options though
Radhek wrote: | 3) Your NIC, and soundcard should be configured by recompiling the kernel with the appropriate options. Emerge has nothing to do with it. |
Apart from emerging the drivers, emu10k1 for example _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Oct 07, 2004 8:57 am Post subject: |
|
|
cokehabit wrote: | Apart from emerging the drivers, emu10k1 for example |
Only if you're using a 2.4 kernel. The soundcard drivers are already there in the 2.6 kernel. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Thu Oct 07, 2004 9:04 am Post subject: |
|
|
Maedhros wrote: | cokehabit wrote: | Apart from emerging the drivers, emu10k1 for example |
Only if you're using a 2.4 kernel. The soundcard drivers are already there in the 2.6 kernel. |
yeah, i should have added that in. Nit picker! _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
Radhek n00b
Joined: 02 Jun 2003 Posts: 70 Location: Paris - France
|
Posted: Thu Oct 07, 2004 12:39 pm Post subject: |
|
|
Sorry, I tend to think everyone uses a 2.6 kernel, that's a prejudice ! So yeah, he would have to compile the emu10k1 driver or alsa if he wants his soundcrad to work with a 2.4.
Btw, what's wrong with my CFLAGS ? Everything compiles without a problem (to the notable exception of crypto++, for which I have to revert back to the pentium3 settings).
-- Radhek |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Thu Oct 07, 2004 1:04 pm Post subject: |
|
|
well you're just asking for problems _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
mssanchu Tux's lil' helper
Joined: 28 Sep 2004 Posts: 112
|
Posted: Thu Oct 07, 2004 2:26 pm Post subject: |
|
|
thanx ppl, but is emerge the same for both packags and drivers? |
|
Back to top |
|
|
mssanchu Tux's lil' helper
Joined: 28 Sep 2004 Posts: 112
|
Posted: Thu Oct 07, 2004 2:26 pm Post subject: abt drivers? |
|
|
thanx ppl, but is emerge the same for both packages and drivers? |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Thu Oct 07, 2004 3:38 pm Post subject: |
|
|
yes, apart from the drivers that you add to the kernel _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
|