Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel kompilieren und CFLAGs
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
amiga
n00b
n00b


Joined: 15 Jan 2003
Posts: 9

PostPosted: Tue Feb 18, 2003 6:52 pm    Post subject: Kernel kompilieren und CFLAGs Reply with quote

Hi, mal ne Frage !

Ich hab Probleme, meinen Kernel zum Laufen zu kriegen.
Ich habe "sys-kernel/gentoo-sources" emerged. Dann in /usr/src/linux mit "make menuconfig" alles ausgewählt was ich brauche. Und dann mit "make dep && make clean bzImage modules modules_install" den Kompiliervorgang gemacht, so wie das muss ;)

Das Makefile vom Kernel ignoriert dummerweise aber meine CFLAGS in der /etc/make.conf, und reimt sich seine eigenen CFLAGS zumsammen ;)

Er kompiliert dann nämlich mit dem Flag "-march=i686 -O3", was auf dem System nicht läuft. Gibts ne Möglichkeit die CFLAGS dafür anzupassen?
Back to top
View user's profile Send private message
JensZ
Guru
Guru


Joined: 15 Feb 2003
Posts: 339
Location: Freiburg

PostPosted: Tue Feb 18, 2003 7:10 pm    Post subject: Reply with quote

Das kann normalerweise nicht sein, da die flags vom Kernel nicht
geändert werden (bzw man sollte sie auch nicht ändern).
Versuche den Kernel noch mal zu emergen und wenn das nicht
klappt versuch mal den Vanilla.
Back to top
View user's profile Send private message
amiga
n00b
n00b


Joined: 15 Jan 2003
Posts: 9

PostPosted: Tue Feb 18, 2003 7:55 pm    Post subject: habs :) Reply with quote

ich habs :) musste nur nochmal die von "make menuconfig" erstellte ".config" nacheditieren, der hatte da aus irgendnem grund ne falsche cpu erkannt.
Back to top
View user's profile Send private message
Ulli Ivens
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 102
Location: Germany

PostPosted: Tue Feb 18, 2003 8:55 pm    Post subject: Reply with quote

bei make menuconfig kann man doch einstellen welche CPU man hat !!

Processor type and features ---> Processor family
_________________
Notebook: Toshiba Satellite 3000-514|1 GHz PIII mobile, 512 MB PC133 RAM|Nvidia GeForce 2 go 16 MB DDR (1.0-3123)
Software: Gentoo 1.4|Gnome 2.2|KDE 3.1.1|Kernel 2.4.20+pcmcia-cs+alsa+tosh3k for doing speedsteping
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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