mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
make: show instructions about installing a C compiler, when the bootstrap compilation with cc fails (#23718)
This commit is contained in:
parent
81a2e7a772
commit
49fb7ca501
5 changed files with 20 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -11,7 +11,7 @@ download_vc:
|
|||
if [ -f vc/v.c ] ; then git -C vc/ pull; else git clone --filter=blob:none https://github.com/vlang/vc vc/; fi
|
||||
|
||||
v:
|
||||
$(CC) $(CFLAGS) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS) || cmd/tools/cc_compilation_failed_non_windows.sh
|
||||
./v1 -no-parallel -o v2 $(VFLAGS) cmd/v
|
||||
./v2 -o v $(VFLAGS) cmd/v
|
||||
rm -rf v1 v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue