Re: 32-bit kernel module compilation
Bernhard Walle <[email protected]>
| Newsgroups | gmane.linux.suse.programming |
|---|---|
| Message-ID | <[email protected]> |
* Thomas Hertweck <[email protected]> [2007-06-20 19:39]: > > Bernhard Walle wrote: > > * Oliver Block <[email protected]> [2007-06-20 16:40]: > >> I'd like to compile a 32-bit kernelmodule (ndiswrapper) on a 64-bit (AMD) > >> System. My idea is to use the 32-bit runtime environment because I've got > >> only a 32-bit Driver for a wlan card. The manufacturer is not planning to > >> release a 64-bit driver for that card. Will my idea work and where do I find > >> information about compiling 32-bit software on a 64-bit linux box using gcc? > > > > Use a 32-bit chroot. > > Das wird nicht funktionieren. Der 64-bit Kernel kann kann zwar 32-bit > Programme im User Space ausfuehren, aber keine 32-bit Treiber in den > Kernel Space laden. Ja, klar. Ich hatte nur den Anfang gelesen und dachte, es ging nur um das Kompilieren. Andererseits kann er in dem Fall auch ein komplettes 32-Bit-System auf dem 64-Bit-System installiert. Bei einem Notebook (gehe ich bei WLAN jetzt mal davon aus, dicke Server bindet man nicht über WLAN an ;)) sollte das kein allzugroßer, praktischer Nachteil sein. Gruß, Bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]