Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Enhance the rebuild logic of the bootstrap

Đang mở
#347 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@DrXiao đang làm issue này rồi.

Từ ngày 18/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

On the latest master branch, running make always triggers a rebuild, even after the bootstrap process has completed:

# The first execution builds the stage 0 ~ stage 2 compilers. (Expected)
$ make
Target machine code switch to arm
  CC    out/src/main.o
...
Warning: discarding const qualifier in cast

# The second execution triggers a rebuild,
# even though ARCH/DYNLINK/BINDING remain unchanged. (Unexpected)
$ make
Target machine code switch to arm
  CC    out/src/main.o
...
Warning: discarding const qualifier in cast
Root cause

The current Makefile appears to have the following dependency relationships:

As a result, every invocation of make updates the config file, causing the bootstrap target to run again.

Ngôn ngữ chính
C
Star
1.4k
Fork
168
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sysprog21/shecc

Tất cả issue của sysprog21/shecc

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.