PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

crosscompilation of 32bit kernel on 64bit platform


Your Ad Here

Your Ad Here

Hi,

I'm trying to compile a 32-bit linux kernel to run on my x8664, so that i can run RTAI. I have tried following the instructions for cross-compilation on the kernelnewbies FAQ, and have searched for help on the web, but think I am still missing something basic.

Here's what I've done so far:

---

1. used rpm to check for binutils, etc.

2. downloaded the i686 cross-compiler fromvar-crosstools

3. added the cross-compile tool directory to the path, i.e. "export

4. configured the kernel, i.e., "make that the configuration included generic x86 support (instead of support for an x8664 processor)

5. tried to compile the kernel. according to the kernelnewbies FAQ, i all," but this doesn't find the cross-compiler, i.e. i get the

6. So then i tried explicitly specifying the location of the cross-compiler, i.e., "make ARCH=i386 all". However, now i get errors suggesting that i am still compiling a 64-bit kernel, e.g.: "integer constant is too large for and " warning: cast from pointer to integer of different size".

7. i tried adding the flag, "CFLAGS=-m32" to tell gcc to do a 32-bit compilation, but i get the same errors.

----

again, i've tried to follow the information i've found online so far, but seem to be missing something basic. can anyone help?

Reparbreastioning a hard disk without loosing data, how 2458
Chris A little precision about my parbreastions: Parbreastion 1:dev-hda1 14.65 Gb (10 Gb free) Parbreastion 2...

thanks, vikaas



Your Ad Here

List | Previous | Next

Reparbreastioning a hard disk without loosing data, how 2458

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Linux Dealt a rest BLOW by Apple !!!!!!! 2456