1
Zaurus - pdaXrom / Native -- C++ / Qt
« on: March 28, 2005, 01:46:30 pm »
Hi Scott
I've been trying hard to native compile on a Z sl-5500 the last days. Finally, I managed to have ZGCC working. It compiles fine with a test "hello world" script. But trying to compile a quite more complex program, I get strange errors at "make" time like :
undefined reference to '__ctype_b'
undefined reference to '__ctype_tolower'
I am far from a C-guru. I found a trick to get ride of this error, but finally, my program doesn't run ok. What I have understood is that these errors happen because of missing or bad versions of the compiler libraries (libc ? other ?) (seems that zgcc compiler is version 2.95.2).
Before, I had tryed also the dev_img-1.5 tool but could not mount the cramfs. But now, with my zgcc experience, I am going to go back to it, see if I get better results than with zgcc.
good luck !
I've been trying hard to native compile on a Z sl-5500 the last days. Finally, I managed to have ZGCC working. It compiles fine with a test "hello world" script. But trying to compile a quite more complex program, I get strange errors at "make" time like :
undefined reference to '__ctype_b'
undefined reference to '__ctype_tolower'
I am far from a C-guru. I found a trick to get ride of this error, but finally, my program doesn't run ok. What I have understood is that these errors happen because of missing or bad versions of the compiler libraries (libc ? other ?) (seems that zgcc compiler is version 2.95.2).
Before, I had tryed also the dev_img-1.5 tool but could not mount the cramfs. But now, with my zgcc experience, I am going to go back to it, see if I get better results than with zgcc.
good luck !