[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building TCC with the upcoming Mes 0.26
From: |
Ekaitz Zarraga |
Subject: |
Re: Building TCC with the upcoming Mes 0.26 |
Date: |
Thu, 23 Nov 2023 13:57:39 +0100 |
On 11/23/23 08:48, Janneke Nieuwenhuizen wrote:
Timothy Sample writes:
The first was that I had to revert the ‘bootstrap.sh’ changes from
commit 0d3c4ddc4bcb57db690ee8ebab106fa6fda75823. Not sure what that’s
about.
The commit message is prettry clear? It's for tcc riscv64 (it only
knows a simplified assembly). Do you know how this broke your build,
I believe Andrius even built tcc for x86?
This makes some sense, actually.
Andrius built it but not using these scripts but their own from
live-bootstrap.
So this is a very valuable feedback.
Maybe we need to hide this part of the commit under an `if`?
+(
+ mkdir -p tcc-lib
+ cp config.sh tcc-lib
+ cd tcc-lib
+ compiler=tcc
+ if test -z "$srcdest"; then
+ srcdest=../
+ srcdir=../
+ fi
+ ${SHELL} ${srcdest}build-aux/build-source-lib.sh
+)