Using uClibc tool chain

Gireesh Kumar gireesh.kumar at einfochips.com
Mon Mar 20 06:22:41 UTC 2006


Hi,

I have downloaded the root_fs_i386.ext2 image from uclibc.org and loop
mounted it on /home/gireesh/Desktop/root_fs. I need to use the i386-
linux-uclibc-gcc to compile my programs. As mentioned in the website I
followed these steps 

      * bunzip2 root_fs_i386.bz2 
      * mkdir root_fs 
      * su root 
      * mount -o loop root_fs_i386 root_fs 
      * chroot root_fs /bin/su -


The new library and tool chain is built properly under root_fs but when
I try to compile my applications using the new gcc, I get this error.
Can anyone help me to fix this?

[root at localhost Desktop]# /home/gireesh/Desktop/root_fs/usr/bin/i386-
linux-uclibc-gcc /home/gireesh/test.c
-bash: /home/gireesh/Desktop/root_fs/usr/bin/i386-linux-uclibc-
gcc: /lib/ld-uClibc.so.0: bad ELF interpreter: No such file or directory


Thanks,
Gireesh 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20060320/e584b5af/attachment-0001.htm 


More information about the uClibc mailing list