Tiny Core Base > Corepure64
CORE64 won't run custom TCZ TC did for years
grandma:
CORE64 won't run custom TCZ TC did for years.
Not sure why. It's a C program - compiled with 32 bit (TC) then
in 64 bit (Core64) - squashed and appears in tce.installed but
does not run...it simply writes (creates) a 1 line script (SH)
into .X.d - nope - then I tried /tmp - nope
curaga:
CorePure64 only supports 64-bit programs when dynamically linked. Compile your program natively so it will be 64-bit, or compile it statically on your 32-bit setup, as static binaries will run.
It's not clear what you mean by Core64 though, we use that for 32-bit userspace + 64-bit kernel, which would run your old tcz, so presumably you meant CorePure64.
grandma:
Thank you for the reply.
The original a TCC compiled 32 bit version:
a) was squashfs'd landing in /tmp/tcloop/dflboot/usr/local/tce.installed/dflboot
b) included are 2 SH scripts - the first one waits for /home/tc/.X.d to exist then copies the second one to /home/tc/.X.d which runs automatically and calls a startup.sh script - ran well for years. A 3 step dance that probably could be refined but if it works don't fix it.
When booting PureCore64 I tried compiling that same C program with TCC from the 32 bit environment - no luck - then I downloaded TCC tce-load -wi while running the 64 bit PureCore64 - and compiled it and tried that - no luck.
I am using the squashfs-4.x.tcz from old TC3x to pack it up. Perhaps that's an issue?
I also figured since I am playing with this...hey...why wait for .X.d - just wait for the readlink to produce a valid TCE folder and then run the script with the compiled C exe - but that code produced a NEVER BOOT result, so apparently if an onboot.lst extension has not exited TC says "I'll wait...& wait...& wait." which is mighty well-mannered, but I don't think the readlink /etc/sysconfig/tcedir ever returns.
So...I am currently hoping Rich can solve an issue - all Core64 versions are bombing - in wait for X - on this circa 2016 64 bit laptop - and when that is solved I'll go back to tinkering with the dflboot.c and related boot scripts....probably going back to the old method of using sh files instead of relying on the C program to do the legwork.
grandma:
I assume there is still no answer for this.
I explained the EXE was compiled while booted under Core64 using TCC obtained under Core64.
Perhaps I missed something.
Juanito:
What does “ldd your_exe” give?
Navigation
[0] Message Index
[#] Next page
Go to full version