Yesterday i tried to build tcc with:
$ ./configure --prefix=../pref --cc=tcc

everything worked fine until i issued
$ make install
and it tried to install the cross compilers which weren't built:
...
install -m755 tcc x86_64-tcc i386-win32-tcc x86_64-win32-tcc arm-fpa-tcc
arm-fpa-ld-tcc arm-vfp-tcc arm-eabi-tcc  "../pref/bin"
install: cannot stat ‘x86_64-tcc’: No such file or directory
install: cannot stat ‘i386-win32-tcc’: No such file or directory
install: cannot stat ‘x86_64-win32-tcc’: No such file or directory
install: cannot stat ‘arm-fpa-tcc’: No such file or directory
install: cannot stat ‘arm-fpa-ld-tcc’: No such file or directory
install: cannot stat ‘arm-vfp-tcc’: No such file or directory
install: cannot stat ‘arm-eabi-tcc’: No such file or directory
make: *** [install] Error 1

i looked through the Makfile and found this part:

ifeq ($(CC),tcc)
    $(INSTALL) -m755 $(PROGS) $(PROGS_CROSS_LINK) "$(bindir)"
else

When i removed $(PROGS_CROSS_LINK) the installation worked fine.
i don't know it this is a bug or if there is something strange with my setup
but i thought i'd mention it here anyways.

Simon Blomberg
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to