DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2006-12-12 22:26:05

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Python on DSM-G600

If someone is interested i've just compile python2.4.2 for dsmg600. It seems work but break on some test. We have very few ram few swap and few tmp.

because it's quiteimpossible to compile staticaly python i need to put on dsmg600 uclibc ang gcc dynmaic librairies
on my dsm i have a symbolic link from /usr/local to /mnt/HD_a2/local were i put a hierachy like /usr/local one on classic linux box.

I've made a kind of "how to cross compile python" in french on frenh wiki python you can found on http://wikipython.flibuste.net/moin.py/ … ationStory

you can download it from here : http://perso.orange.fr/bertrand.belguis … .2.tar.bz2

Last edited by BertrandB (2006-12-16 15:17:36)

Offline

 

#2 2007-02-12 11:02:09

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Re: Python on DSM-G600

OK the python can run edna but with still a problem on zlib module and a strange problem with the wifi.
To get a better python (and may be later perl) i'm in work to make a native toolchain, for the moment binutils and gcc3.3 are compiled next steps make.

Well gcc don't work and i try 5 times and always the same problem

Code:

# gcc -v
Reading specs from /mnt/HD_a2/local/lib/gcc-lib/powerpc-linux-uclibc/3.3.3/specs
Configured with: /home/bertrand/powerpc-uclibc-toolchain/toolchain_build_powerpc/gcc-3.3.3/configure --with-gcc-version-trigger=/home/bertrand/powerpc-uclibc-toolchain/toolchain_build_powerpc/gcc-3.3.3/gcc/version.c --prefix=/mnt/HD_a2/local --build=i386-pc-linux-gnu --host=powerpc-linux-uclibc --target=powerpc-linux-uclibc --enable-languages=c,c++ --enable-shared --with-gxx-include-dir=/mnt/HD_a2/local/include/c++ --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --with-gnu-as --disable-nls --enable-multilib --enable-sjlj-exceptions
Thread model: posix
gcc version 3.3.3
# more test.c
int main() { return 0; }
# gcc test.c

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
# gcc -E test.c
# 1 "test.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test.c"
int main() { return 0; }
#

Somebody an idea ?

Last edited by BertrandB (2007-02-18 10:30:36)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB