WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 64bit applications for microcore64 ?  (Read 2169 times)

Offline harjoc

  • Newbie
  • *
  • Posts: 6
64bit applications for microcore64 ?
« on: May 09, 2011, 06:19:48 AM »
Hello,

I am trying to build a wxWidgets GUI for tinycore that uses existing 64bit binary-only firmware.

Comparing the contents of microcore.gz and microcore64.gz shows that only the kernel modules are different. The entire userland is still 32bit.

I am contemplating rebuilding for amd64 all the libraries my GUI depends on (libc, libstdc++, X libs, gtk, wx, etc). Is this at all feasible ? I've had some success rebuilding wxGtk, but would certainly rely on someone else's efforts, if this has already been done.

Thanks for any pointers or "don't do it" advice!

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 64bit applications for microcore64 ?
« Reply #1 on: May 09, 2011, 06:23:14 AM »
What do you mean by "64bit binary-only firmware"?
The only barriers that can stop you are the ones you create yourself.

Offline harjoc

  • Newbie
  • *
  • Posts: 6
Re: 64bit applications for microcore64 ?
« Reply #2 on: May 09, 2011, 06:40:58 AM »
The application is a GUI for an av-engine, and it uses already installed signatures. If those signatures are 64-bit (from a 64-bit Windows partition) then the GUI has to be compiled for amd64 as well.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 64bit applications for microcore64 ?
« Reply #3 on: May 09, 2011, 09:22:15 AM »
It would be easier to build statically on an existing 64-bit install, and then deploy the static binary. Both ways are possible though.
The only barriers that can stop you are the ones you create yourself.

Offline harjoc

  • Newbie
  • *
  • Posts: 6
Re: 64bit applications for microcore64 ?
« Reply #4 on: May 09, 2011, 09:44:04 AM »
Thanks, that's what I'll most likely do.

But I will end up with 32bit as well as 64bit versions of libc, libstdc++, Xlib, etc. A dynamic binary would save ~15M of space, plus I'll need to build the libs on tinycore anyway, to be able to link against them.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: 64bit applications for microcore64 ?
« Reply #5 on: May 09, 2011, 12:37:29 PM »
?

Just build on $DISTRO of your choice, 64-bit ubuntu fedora etc, statically. Assuming their libc is ok with our kernel (most are, much more conservative than we are), it will run.
The only barriers that can stop you are the ones you create yourself.