Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - claude

Pages: [1]
1
Angstrom & OpenZaurus / Cross Compile Howto ? (Python/Scipy)
« on: May 31, 2004, 09:34:33 am »
Quote
To build a cross-compiler from http://openzaurus.org/official/toolchain/c...s-3.3.2.tar.bz2 :
I did :  
1) install  cross-3.3.2.tar.bz2  (/opt/..)
2) mkdir /usr/local/arm/3.3.2
3) tar jxf gcc-3.3.2.tar.bz2 -C /tmp
4) mkdir /tmp/buildgcc ; cd /tmp/buildgcc ; export PATH=$PATH:/opt/cross/bin
5)
../gcc-3.3.2/configure --disable-shared --enable-languages=\'c,c++,f77\' --target=arm-linux --prefix=\'/usr/local/arm/3.3.2\' --with-headers=\'/opt/cross/arm-linux/sys-include\' --with-libs=\'/opt/cross/arm-linux/lib\'

BUT  the following files are not found :  
../../gcc-3.3.2/gcc/tsystem.h:72:19: stdio.h: No such file or directory
...
AND
make[1]: *** [crtbegin.o] Erreur 1
any idea ???


Try :

export ZAURUS_DIR=/opt/cross/
export PATH=$PATH:$ZAURUS_DIR/bin
export LO_DIR=/usr/local/arm/3.3.2

../gcc-3.3.2/configure
--prefix=$LO_DIR
--target=arm-linux
--disable-shared
--with-gnu-as
--with-gnu-ld
--with-as=$ZAURUS_DIR/bin/arm-linux-as
--with-ld=$ZAURUS_DIR/bin/arm-linux-ld
--with-headers=$ZAURUS_DIR/arm-linux/include
--with-libs=$ZAURUS_DIR/arm-linux/lib
--enable-languages=c,c++,f77

make
make install

But files (compiler/header/..) of interest are in /opt/cross and /usr/local/arm/3.3.2 , it is not very clean ...

@+

2
Angstrom & OpenZaurus / Cross Compile Howto ? (Python/Scipy)
« on: May 30, 2004, 01:50:36 pm »
To build a cross-compiler from http://openzaurus.org/official/toolchain/c...s-3.3.2.tar.bz2 :
I did :

1) install  cross-3.3.2.tar.bz2  (/opt/..)

2) mkdir /usr/local/arm/3.3.2

3) tar jxf gcc-3.3.2.tar.bz2 -C /tmp

4) mkdir /tmp/buildgcc ; cd /tmp/buildgcc ; export PATH=$PATH:/opt/cross/bin

5)
../gcc-3.3.2/configure --disable-shared --enable-languages=\'c,c++,f77\' --target=arm-linux --prefix=\'/usr/local/arm/3.3.2\' --with-headers=\'/opt/cross/arm-linux/sys-include\' --with-libs=\'/opt/cross/arm-linux/lib\'

BUT  the following files are not found :

../../gcc-3.3.2/gcc/tsystem.h:72:19: stdio.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:78:19: errno.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:85:20: string.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:90:20: unistd.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:96:18: time.h: No such file or directory

AND
 
../../gcc-3.3.2/gcc/crtstuff.c: In function `__do_global_dtors_aux\':
../../gcc-3.3.2/gcc/crtstuff.c:280: warning: passing arg 1 of `__deregister_frame_info\' discards qualifiers from pointer target type
../../gcc-3.3.2/gcc/crtstuff.c: In function `frame_dummy\':
../../gcc-3.3.2/gcc/crtstuff.c:316: warning: passing arg 1 of `__register_frame_info\' discards qualifiers from pointer target type
make[1]: *** [crtbegin.o] Erreur 1


any idea ???

3
Angstrom & OpenZaurus / Cross Compile Howto ? (Python/Scipy)
« on: May 30, 2004, 10:35:22 am »
Thank you for the help, i\'ll give a try asap (i\'m sure it will work)

le chemin parcouru :

After some googling and http://openembedded.org/oe_wiki/ and
http://treke.net/oe/docs/oe-opie.html I tried openEmbeded  (last python-2.3.4 and Numeric packages can be built with it) to build the \'initial environment\'
(toolchains etc)  after \"oemake meta-opie\" I\'ve got errors :
...
NOTE: package glibc-2.3.2+cvs20040530-r2: task do_patch completed
NOTE: package glibc-2.3.2+cvs20040530-r2: task do_configure started
NOTE: package glibc-2.3.2+cvs20040530-r2: task do_configure completed
NOTE: package glibc-2.3.2+cvs20040530-r2: task do_compile started
ERROR: function do_compile failed
ERROR: function do_compile failed
ERROR: see log in /data1/oetmp/base/glibc-2.3.2+cvs20040530-r2/temp/log.do_compile.8648

wich reads :
...
...
../sysdeps/generic/libc-start.c:241: internal compiler error: Aborted
....

I did not use Bitkeeper but :
$  wget http://www.treke.net/oe/snapshots/oe-exported.tar.bz2
$  wget http://www.treke.net/oe/snapshots/oe-packa...xported.tar.bz2

as theses packages are snapshots they may be  buggy.

does someone know if there is a stable release of openEmbeded ?
 
thank you

4
Angstrom & OpenZaurus / Cross Compile Howto ? (Python/Scipy)
« on: May 29, 2004, 10:57:25 am »
further informations Zaurus 5500 / 3.3.6-pre1 opie 1.1.4

5
Angstrom & OpenZaurus / Cross Compile Howto ? (Python/Scipy)
« on: May 29, 2004, 10:18:52 am »
I\'d like to cross-compile Python and some \"packages\"  like :

- Numeric/Numarray
- f2py (python/fortran  interface)
- Scipy : \"stats\" lib and \"special\"  lib.
 
I know that I need a toolchain/SDK  (gcc, g77 ...) :
- but I do not know where to pick up the one that would fit my needs
- and where to find a tutotial/howto on cross-compiling

Moreover cross-compiling Python is not an easy task because python itself takes part in building
extensions.

Well I need some helps and advices !!

Thanks

6
Quote
First of all, I would like to thank Greg2 for the really useful link. Secondly, is anyone using a pdf viewer, email client that works with 3.3.6pre1? I am not able to get any working (qpdf, mailit, qtmail etc).
Perhaps qpdf2 + oz-compat-opie  (http://www.mithis.com/zaurus/ipkgs/)  if 3.3.6pre1 gcc 3.3.2  ?
BUT I do not know if it will work !!

7
Angstrom & OpenZaurus / USB Mandrake 10.
« on: April 26, 2004, 01:56:32 pm »
Quote
You have to reboot the Z.

The Z stops accepting the address given to communicate with the OS, it happens after a resume, or so...


I don\'t know why it happens.


Cheers.
It works again

Merci

8
Angstrom & OpenZaurus / USB Mandrake 10.
« on: April 24, 2004, 04:49:15 pm »
hello,

I\'ve got a new Mandrake 10.0 + zaurus 5500 3.3.6 pre-1
When zaurus is plugged dmesg read   :

usb 2-2: new full speed USB device using address 10
usb 2-2: device not accepting address 10, error -110
usb 2-2: new full speed USB device using address 11
usb 2-2: device not accepting address 11, error -110
 
Any suggestion ?

Pages: [1]