Making a python package and cross-platform compatible


 
Thread Tools Search this Thread
Operating Systems Linux Debian Making a python package and cross-platform compatible
# 1  
Old 10-14-2013
Making a python package and cross-platform compatible

Hi Ive been trying for days now and i just cannot work this out.

Can someone please tell me if im doing this right.

I've written some python3.3 code and now i want to transfer it to an embedded computer to execute.

My OS is a : Debian GNU/Linux 6.0.7 (squeezez) 32-bit kernel
Compiler gcc 4.4.4 and gcc 4.4.5


The target computer is : Linux 2.6.9 32bit cpu.
Compiler gcc 3.3.2

So i have the .py files. I install cx_freeze with python3.3.

I then use cxfreese file.py, which create a folder called dist with a bunch of files and a executable.

Now from my understanding everything it needs to run is inside that folder?
So how come when i transfer over to the target computer it says " cannot execute binary file"

is this todo with them haveing diffrent compilers? how do i update the target computers compiler when there is no apt-get or dpkg facility?

Please someone save Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Making a python package and cross-platform compatible

Hi Ive been trying for days now and i just cannot work this out. Can someone please tell me if im doing this right. I've written some python3.3 code and now i want to transfer it to an embedded computer to execute. My OS is a : Debian GNU/Linux 6.0.7 (squeezez) 32-bit kernel The... (1 Reply)
Discussion started by: RedEyedDog
1 Replies

2. UNIX for Dummies Questions & Answers

Really simple cross-platform database?

I'm looking for a really simple to use lightweight database. Ideally something open-source that stores data in a (semi-) human-readable format, in case the software isn't working. Something cross-platform enough that I can use it on my Linux machine, my Mac, or stick it on a USB stick and... (2 Replies)
Discussion started by: emdan
2 Replies

3. Shell Programming and Scripting

making code compatible to previous bash versions

First let me explain the scenario I have tywo files as usual file1.txt (it has n rows and 8 columns) $1 $2 $3 $4 $5 $6 $7 $8 Code: 1234567|iufgt|iuoy|iout|white |black |red |90879 1234567|iufgt|iuoy|iout|green |pink |blue |90879... (3 Replies)
Discussion started by: s.deepak
3 Replies

4. Shell Programming and Scripting

configuring packages for cross-platform build

Hi all, I wish to build a few packages for my embedded target running linux over ARM9. It would be tough for me to compile my packages on target so I need to build on a host machine and then transfer the generated binaries. So I got the source-tarball for the packages I need. Now here are my two... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies

5. UNIX for Advanced & Expert Users

Cross platform Authentication

I am looking to have UNIX authenticate against Active Directory in a Windows Server 2003 environment, any suggestion? I am very new to UNIX, 2 weeks worth knowledge, if that. Thanks! (3 Replies)
Discussion started by: Optik
3 Replies
Login or Register to Ask a Question
pydhcplib(3)							     PYDHCPLIB							      pydhcplib(3)

NAME
pydhcplib - une librarie dhcp en python DESCRIPTION
pydhcplib is a library written in python to reading, writing, encode or decode dhcp packets on network. The man pages of pydhcplib describe the various classes defined in pydhcplib and usable in your python programs. TYPES
PACKET CLASSES
NETWORK CLASSES
EXAMPLES
SEE ALSO
pydhcp(8), pydhcplib.hwmac(3), pydhcplib.ipv4(3), pydhcplib.strlist(3), pydhcplib.DhcpPacket(3), pydhcplib.DhcpBasicPacket(3), pydhc- plib.DhcpNetwork(3), pydhcplib.DhcpClient(3), pydhcplib.DhcpServer(3) BUGS
pydhcplib is under development. See http://pydhcplib.tuxfamily.org/ for more information. AUTHOR
Mathieu Ignacio (mignacio[AT]april.org) pydhcplib(3)