WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Run an exe file on tiny core!  (Read 10035 times)

Offline ahmadian

  • Newbie
  • *
  • Posts: 4
Run an exe file on tiny core!
« on: February 23, 2014, 05:37:39 PM »
Hi Markus and others
I'm analog circuit designer but new in Linux.
I wrote many bare metal and Delphi programs but linux confuse me!
I installed Lazarus on raspberry and wrote a simple program to read from GPIO and draw chart.
But Wheezy is slow in charting and mouse handling.
I install PiCore but don't know how to run an executable file.
This file run on Wheezy by clicking on file but in tiny core we only can install TCZ app.
Can I convert Wheezy exe to TCZ?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: Run an exe file on tiny core!
« Reply #1 on: February 23, 2014, 07:12:36 PM »
tcz files are packages for tinycore, tce is the package manager system...... similar to .deb files in debian retrieved with the package manager apt.

Lazarus itself is not available on tinycore....not sure how easy/hard it would be to add.   Does it compile to an binary executable?  What are the library dependencies of the file?  tinycore is binary compatible with programs compiled on wheezy.

You can install any file you want on the system, but without doing a backup, it only resides in ram, and will be gone after a reboot.   Just copy the application to your home directory, then do a backup....there is a backup link on the desktop.  (Assuming you are running the X window image of tinycore.)

Offline ahmadian

  • Newbie
  • *
  • Posts: 4
Re: Run an exe file on tiny core!
« Reply #2 on: February 24, 2014, 03:24:31 PM »
Thanks Paul
Yes, Lazarus make binary and we can run it by double click.
But I cant run this binary file on PiCore.
On the X Windows of PiCore, there is no file manager or other tools for running binary files.
Is there any way to convert binary files to TCZ format?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Run an exe file on tiny core!
« Reply #4 on: February 25, 2014, 01:38:52 AM »
Hi Markus and others
I'm analog circuit designer but new in Linux.
I wrote many bare metal and Delphi programs but linux confuse me!
I installed Lazarus on raspberry and wrote a simple program to read from GPIO and draw chart.
But Wheezy is slow in charting and mouse handling.
I install PiCore but don't know how to run an executable file.
This file run on Wheezy by clicking on file but in tiny core we only can install TCZ app.
Can I convert Wheezy exe to TCZ?

If it is slow on Raspbian it will be slow on piCore too. Better to use an x86 machine.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline ahmadian

  • Newbie
  • *
  • Posts: 4
Re: Run an exe file on tiny core!
« Reply #5 on: February 26, 2014, 01:15:59 AM »
Thanks a lot
Yes, charting is slow in Wheezy (when Mouse move). but why? Because of Linux kernel pooling speed? or others?
x86 SBC is expensive and needs FAN. It has not GPIO, SPI, I2C and other low level ports.
Windows is not real time, ...


 

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Run an exe file on tiny core!
« Reply #6 on: February 26, 2014, 01:53:04 AM »
Windows is not real time, ...

Neither Linux
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline ahmadian

  • Newbie
  • *
  • Posts: 4
Re: Run an exe file on tiny core!
« Reply #7 on: February 26, 2014, 02:38:52 AM »
Windows is not real time, ...

Neither Linux
I made some buffering method to overcome this problem in Windows. Now Raspberry Pi stimulate me to use it instead of x86 machine, and PiCore seems to be best choice.