problem in compiling the Apps to arm using cross compiler

"Roy" <[email protected]> Thu, 23 Oct 2003 01:16:33 +0800 (HKT)
Newsgroups gmane.comp.handhelds.zaurus.devel
Message-ID <[email protected]>
Dear all,
     Previously, i posted serveral problems related to compile the program
to run on native x86 for development. I solved it by using the new version
of gcc and g++ compilers, but not gcc296 and g++296. but now i faced the
other problems : ( (sorry for  asking too much questions) .
     Some of the links  teach how to setup the environment variable for
compiling to arm, one of the variable is LD_LIBRARY_PATH, which should be
set to LD_LIBRARY_PATH = /opt/Qtopia/sharp/lib: $LD_LIBRARY_PATH , but
whenever i set this variable to this path '/opt/Qtopia/sharp/lib' and
exported it, afterwards, if i wanted to type 'tmake -o Makefile example.pro'
, or even other linux commands like 'ls', it would give you en error, saying
that ' error in loading dynamic library ....', i have checked what caused
this error came out, and found out that for Qtopia SDK 1.7, in
/opt/Qtopia/sharp/lib/ directory, there is a c library called libc.so.6,
this library will cause me fail in using even normal commands like 'ls', of
course also ' tmake ', and found that there is no libc.so library file
provided in Qtopia SDK 1.5, so it doesn't exit this problem. If i simply
omit the path '/opt/Qtopia/sharp/lib' in the variable, although 'ls',
'tmake' etc command could run, but it will result in linking error during
compiling, pobably coz of not finding the lib for sharp. So, how to solve
this problem? Thanks all

Regards,
Roy