The compiler is 32-bit, and you're trying to build a 64-bit kernel. If I understood you right, you want to build a 32-bit kernel.
Use "linux32 sh" and make menuconfig, etc from that shell.
So, As my TCL is 64 bit, if I boot it by itself (not VM), is there a 64 bit compiler? (Is it gcc64 or compiletc64 or or toolchain64 [
http://forum.tinycorelinux.net/index.php?topic=4931.0]?)
Well, initially my preference was to compile 64 bit Kernel, but because I was running TCL as VM on 32 bit Windows, I wanted it to be safe so in the interim I decided to first build 32 bit and if it worked I'd build 64 bit Kernel.I followed the text file called
Changes (kernel.org/doc/Documentation/Changes) in Documentation folder of Kernel source codes, and to compile Kernel, I need the following packages that I couldn't find in TCZ Repository:
quota-tools
btrfs-progs
isdn4k-utils (isdnctrl)
pcmciautils
grub || grub-install
mcelog
Also for some of the mentioned commands (for example
ps --version), TCL uses busybox instead!!! what should I do about them? Is there a way to replace busybox with original bash commands in TCL?
As I said, I've tried many instructions for compiling Kernel, but couldn't succeed and I'm helpless. I'm getting my feet wet in Kernel hacking, so ... Let's say I want to compile a Kernel for TCL 3.3.6 64 bit on my Ubuntu 64 bit desktop. Could you please give me a very detailed document (step by step explaining all the subtle things) to get me going? I could built the vmlinuz part but couldn't build the modules (core64.gz), so what i did was to use the Tinycore iso from
Svolli and the provided core64.gz (which obviously was for Kernel 3.0.21-tinycore64 not for my Kernel 3.3.6-tinycore64). Therefore, when I wanted to boot that compiled TCL, I got a lot of warnings and ended up in the command line instead of going to Xfbdev environment).
Thanks again