crosstool - ARM922T - NMS9200
Trilok Soni
trilok_ulug@yahoo.co.in
Sun Jan 11 16:54:00 GMT 2004
Hi All,
I have built arm-linux toolchain using crosstool-0.25
version from kegel.com.
script executed for:
arm.dat gcc-3.2.3-glibc-2.2.5
Board:
NMS9200 - MiMagic5
I have then built ramdisk for my target board nms9200.
I have copied following files on
ramdisk/lib.
# ls $ARM_ROOT/ramdisk/lib
ld-2.2.5.so libgcc_s.so libstdc++.so
ld-2.2.5.so.2 libgcc_s.so.1 libstdc++.so.5
libBronkenLocale-2.2.5.so libm-2.2.5.so
libstdc++.so.5.0.4
libBronkenLocale.so.1 libm.so libthread_db-1.0.so
libc-2.2.5.so libm.so.6 libthread_db_so.
libc.so.6 libpthread-0.9.so libthread_db_so.1
libdl-2.2.5.so libpthread.so.0 libutil-2.2.5.so
libdl.so libresolv-2.2.5.so libutil.so
libdl.so.2 librt-2.2.5.so libutil.so.1
Now when I execute simple Hello, World "c" shared
library program, it just comeback to shell
without printing a "hello, world" message.
#include <stdio.h>
int main(int argc, char **argv){
printf("Hello, World\n");
return 0;
}
#arm-linux-gcc -o hello hello.c
--On target board
#./hello
#
#./hello.static
Hello,World
#
I think it is able to find loader..but loader is
unable to load libc.so to memory. Do u think that
I have to copy library somewhere else?
Above program works if I build toolchain with
buildroot with gcc-3.2.3 and uClibc-0.9.20, but it do
have C++ problems.
If you need more information please just mention in
your reply.
Regards,
Trilok Soni
________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list