Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 01:55
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
compiled c differences across puppy and fedora
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
guest
Guest


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

please help.

Regards

Mulgy
Back to top
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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

Mark
Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Tue 20 Dec 2005, 13:23    Post subject: Re: compiled c differences across puppy and fedora  

guest wrote:
The code compiles using gcc on both platforms fine but runs differently
What do you mean 'differently'? How do both binary differ?
Back to top
View user's profile Send private message Visit poster's website 
Mulgy
Guest


PostPosted: Thu 22 Dec 2005, 11:55    Post subject:  

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
Back to top
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0442s ][ Queries: 11 (0.0059s) ][ GZIP on ]