Mailinglist Archive: opensuse-programming (84 mails)
| < Previous | Next > |
cross compiling custom kernel
- From: Brad Bourn <brad@xxxxxxxxxxxx>
- Date: Thu, 26 Aug 2004 17:05:37 -0600
- Message-id: <200408261705.37604.brad@xxxxxxxxxxxx>
I am making a custom kernel for ltsp disklessworkstations on my amd64 box
I have the .config file and the kernel sources.
I can use
linux32 make oldconfig
linux32 make dep
linux32 make clean
but when I try
linux32 make bzImage
I get
brad@linux64:~/supers/ltsp/linux-2.4.24> linux32 make bzImage
gcc -D__KERNEL__ -I/home/brad/supers/ltsp/linux-2.4.24/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -march=i486 -falign-functions=0 -falign-jumps=0
-falign-loops=0 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
make: *** [init/main.o] Error 1
can someone tell me what I'm doing wrong?
B-(
I have the .config file and the kernel sources.
I can use
linux32 make oldconfig
linux32 make dep
linux32 make clean
but when I try
linux32 make bzImage
I get
brad@linux64:~/supers/ltsp/linux-2.4.24> linux32 make bzImage
gcc -D__KERNEL__ -I/home/brad/supers/ltsp/linux-2.4.24/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -march=i486 -falign-functions=0 -falign-jumps=0
-falign-loops=0 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
make: *** [init/main.o] Error 1
can someone tell me what I'm doing wrong?
B-(
| < Previous | Next > |