rust-lang / rustc_codegen_gcc

libgccjit AOT codegen for rustc
Apache License 2.0
913 stars 60 forks source link

Fix configure path in the README.md instructions #475

Closed tgross35 closed 6 months ago

tgross35 commented 6 months ago

Using gcc/configure gives me a "no rule to make target" error, the same as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25543. Using /configure seems to work correctly, hence this change.

antoyo commented 6 months ago

This change seems wrong to me since GCC should be built out-of-tree.

Can you show me your directory structure please?

tgross35 commented 6 months ago

On second look, I misread the instructions and created gcc-build and gcc-install within the gcc clone, while it seems like they were supposed to be adjacent. So ../gcc/configure was picking up configure in this directory https://github.com/rust-lang/gcc/tree/78dc50f0e50e6cd1433149520bd512a4e0eaa1bc/gcc

No need for this then.