View Single Post
Old 05-23-2012, 09:02 AM   #79
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
That looks like the same problem as with the libm library that shows up when you add "-lm" to the tccmake command line. It will need a similar fix. I did not try it yet, but I added a possible fix to the tcc install script (see the new red line below). Try it and report your results here.
Code:
#!/bin/sh
cd /usr/lib
mntroot rw >/dev/null
ln -s /mnt/us/tcc/crt1.o
ln -s /mnt/us/tcc/crti.o
ln -s /mnt/us/tcc/crtn.o
cd /usr/bin >/dev/null
ln -s /mnt/us/tcc/tcc
ln -s /mnt/us/tcc/tccmake
[[ -e libm.so ]]||ln -s /lib/libm.so.6 libm.so
[[ -e libpthread.so ]]||ln -s /lib/libpthread.so.0 libpthread.so
mntroot ro >/dev/null       
echo "*** tcc installed ***"             
echo Uninstall with /mnt/us/tcc/uninstall
echo Compile demo.c with "tccmake demo"

Last edited by geekmaster; 05-23-2012 at 09:16 AM.
geekmaster is offline   Reply With Quote