Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
doubts regarding flags
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mssanchu
Tux's lil' helper
Tux's lil' helper


Joined: 28 Sep 2004
Posts: 112

PostPosted: Thu Oct 07, 2004 7:34 am    Post subject: doubts regarding flags Reply with quote

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
View user's profile Send private message
Radhek
n00b
n00b


Joined: 02 Jun 2003
Posts: 70
Location: Paris - France

PostPosted: Thu Oct 07, 2004 8:00 am    Post subject: Reply with quote

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
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Thu Oct 07, 2004 8:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Thu Oct 07, 2004 8:57 am    Post subject: Reply with quote

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
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Thu Oct 07, 2004 9:04 am    Post subject: Reply with quote

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! :P
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Radhek
n00b
n00b


Joined: 02 Jun 2003
Posts: 70
Location: Paris - France

PostPosted: Thu Oct 07, 2004 12:39 pm    Post subject: Reply with quote

Sorry, I tend to think everyone uses a 2.6 kernel, that's a prejudice ! :wink: 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
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Thu Oct 07, 2004 1:04 pm    Post subject: Reply with quote

well you're just asking for problems
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
mssanchu
Tux's lil' helper
Tux's lil' helper


Joined: 28 Sep 2004
Posts: 112

PostPosted: Thu Oct 07, 2004 2:26 pm    Post subject: Reply with quote

thanx ppl, but is emerge the same for both packags and drivers?
Back to top
View user's profile Send private message
mssanchu
Tux's lil' helper
Tux's lil' helper


Joined: 28 Sep 2004
Posts: 112

PostPosted: Thu Oct 07, 2004 2:26 pm    Post subject: abt drivers? Reply with quote

thanx ppl, but is emerge the same for both packages and drivers?
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Thu Oct 07, 2004 3:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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