tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Make tries to install cross compilers


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] Make tries to install cross compilers
Date: Fri, 12 Sep 2014 22:54:30 +0800
User-agent: KMail/4.14 (Linux/3.14-2-amd64; KDE/4.14.0; x86_64; ; )

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

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]