Posted: Tue 20 Dec 2005, 10:50 Post subject:
compiled c differences across puppy and fedora
Hi
I've got a miniterm type c program which I'm trying to run on puppy which I developed on fedora install. The code compiles using gcc on both platforms fine but runs differently. can I simply copy the libs over from fedora or something ..
Joined: 24 Aug 2005 Posts: 13648 Location: Karlsruhe, Germany
Posted: Tue 20 Dec 2005, 12:09 Post subject:
I don't know if thecurrent fedora is binary-compatible.
If the program compileson puppy, butdoes not work - what forerrors do you get?
Some shell-commands might be incompatible, as Puppy uses busybox, that replaces some commands with other versions.
You could try to copy libs from fedora- or use them from Debian.
Tips for Debian-binaries:
http://www.murga.org/~puppy/viewtopic.php?t=4661&highlight=undeb
http://www.murga.org/~puppy/viewtopic.php?t=3313&highlight=undeb
The miniterm I've written/amended monitors input from a serial device which accepts hex based commands. For some reason now I run on puppy the commands I was getting in, which were ascii numbers but are actually being sent as hex numbers are being displayed as -1073743086 is this a conversions problem which I can code around or am I seeing the memory address of the value hex3 or something else.. I'm lost.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum