Le mercredi 10 septembre 2014, 09:48:39 Simon Blomberg a écrit : > 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.
Indeed, I introduced a bug. PROGS_CROSS_LINK should probably be defined a few lines down inside the ifdef CONFIG_CROSS. Feel free to fix it in mob and thanks for the report. Best regards, Thomas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel