Tiny Core Linux
Tiny Core Base => Micro Core => Topic started by: ChuckNorris on May 08, 2014, 04:24:49 PM
-
So far microcore has work well for my requirements. I am running 64-bit core64.gz and vmlinuz64 and most of the 32-bit apps still run fine. Despite two crashes that could be related to something else... things seems ok so far. The kernel detects the additional memory, but the 32-bit apps are limited to 4GB. So I used the gcc.tcz and compiletc.tcz to compile for 64-bit and the app runs on corepure64. But the app does not run on core64.
Is it even possible to run 64-bit apps on core64, and if not is it possible to run 32-bit apps on corepure64? Or is there a step I am missing?
Thanks
-
Hi ChuckNorris
This question has come up before. As I recall, with core64, the kernel is no longer limited to 4Gbytes of RAM, but any applications are.
With corepure64, all the libraries are 64 bit, so I don't think you could really run 32 bit apps on it, but I won't swear to it.
-
Instead of core64.gz (not sure about that gz archive, maybe you got it from an ISO? )
try rootfs64 and
modules64.gz
Along with vmlinuz64
You'll not be able to run 32bit apps in this scenario
Sent from my iPhone using Tapatalk
-
Thanks, tested this, basically with core64, a 32-bit version of the app runs, but fails when it reaches 4GB of memory. The source compiles and runs on corepure64 in 64-bit mode, but corepure64 is missing many packages.
So it seems:
1) 64-bit apps don't run on the core64 kernel.
2) 32-bit apps don't run on the corepure64 kernel.
I am hoping this info is wrong or something like ia32 is available for tinycore, because the only way forward is an intensive few days of compiling each dependency from source (if all goes well)
-
If you want apps to have access to more than 4GB ram then corepure64 is the only way to go
I remember core64.gz now, is been a while as have used this separate archives combination since introduced.
tc5.3
rootfs64 and
modules64.gz and
vmlinuz64
Compile, create extensions and submit, am sure all will be grateful
Sent from my iPhone using Tapatalk
-
Yep, thanks, actually started compiling...
Create, pack and submit the extensions with this tool ok? https://code.google.com/p/tcztools/
-
It would be useful to use the "standard" corepore64 flags to compile:
CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local
..and then: find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \;
..and of course use compiletc from the corepure64 repo :)