On Thu, Mar 16, 2006 at 07:37:24AM -0000, upendra patel wrote: > i have downloaded and installed binary package : > > scratchbox-toolchain-arm-gcc3.4-glibc2.3-1.0.2-i386.tar.gz for redhat > based PC.
Have you also installed scratchbox-libs (and probably scratchbox-core)? You should, if you want the cross-compiler to work. > when i cross compile following error is displayed: > > [EMAIL PROTECTED] mstudent]# arm-linux-g++ -o test test.cpp > bash: > > /home/mstudent/scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/bin/arm-linux-g++: > /scratchbox/host_shared/lib/ld.so: bad ELF interpreter: No such file or > directory Have you installed scratchbox to /scratchbox? Cross-compilers can't be used from outside the scratchbox if the scratchbox is installed to to a different location (at least you need a symlink /scratchbox -> real location). -- Toni Timonen 040-5111863,GPG 0x7984A4FD _______________________________________________ Scratchbox-users mailing list [email protected] http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
