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 Sun 31 Aug 2014, 00:32
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 Posts_count  
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_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_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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0483s ][ Queries: 12 (0.0109s) ][ GZIP on ]