compiled c differences across puppy and fedora

Booting, installing, newbie
Post Reply
Message
Author
guest

compiled c differences across puppy and fedora

#1 Post by guest »

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 ..

please help.

Regards

Mulgy

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

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.p ... ight=undeb
http://www.murga.org/~puppy/viewtopic.p ... ight=undeb

Mark

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

Re: compiled c differences across puppy and fedora

#3 Post by rarsa »

guest wrote:The code compiles using gcc on both platforms fine but runs differently
What do you mean 'differently'? How do both binary differ?

Mulgy

#4 Post by Mulgy »

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.

cheers

Post Reply