WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: help...step by step to make tcl persistent on USB/Quemu  (Read 11078 times)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: help...step by step to make tcl persistent on USB/Quemu
« Reply #15 on: May 25, 2009, 11:34:01 PM »
1.4.2 and just tested 1.4.3 both work fine with the tinycore.bat that I posted for Qemu/Windows earilier in this thread.

10+ Years Contributing to Linux Open Source Projects.

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
Re: help...step by step to make tcl persistent on USB/Quemu
« Reply #16 on: May 26, 2009, 05:57:15 AM »
Yes, but how to get 1.4.3 working off a .sh in Linux without having qemu installed-how to do that?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: help...step by step to make tcl persistent on USB/Quemu
« Reply #17 on: May 26, 2009, 07:07:14 AM »
You'd need a portable binary of Qemu, one that runs on all distros. Best to compile one completely staticly with uclibc, otherwise there will always be some distros that won't work due to different version of glibc or some other lib.
The only barriers that can stop you are the ones you create yourself.

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
Re: help...step by step to make tcl persistent on USB/Quemu
« Reply #18 on: May 27, 2009, 06:19:34 AM »
Hey Curaga; just how would I go about doing that-compiling qemu ?statically?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: help...step by step to make tcl persistent on USB/Quemu
« Reply #19 on: May 27, 2009, 07:24:13 AM »
It's a rather complicated topic :P

Basically you would just do the configure phase like this:
Quote
CFLAGS="$CFLAGS -static" CXXFLAGS="$CXXFLAGS -static" ./configure --other-options-here
But to do so _and_ get an all-distro portable binary requires a special environment. uClibc with maximum compatibility and everything to go with it is really an only option, as glibc cannot completely be linked staticly (plus there would be still the restrictions of the glibc used: for example minimum kernel version)
The only barriers that can stop you are the ones you create yourself.

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
Re: help...step by step to make tcl persistent on USB/Quemu
« Reply #20 on: May 27, 2009, 07:58:52 AM »
 :P
Thanks, that helps alot; but in a related question- TC-2.0rc2.1 and Okajima's 2.0rc1 both run fine in portable qemu
on all my linux pc's(3), however 1.4.2 does not and has a kernel panic/lock-up.
So, what's in tc 2.0+ that isn't in tc-1.4.2??
thanks again