Hello! I've gotten back to working on porting tcc to riscv32. In my process to test the compiler I've been using a buildroot linux system + qemu. Since the compiler isn't _quite_ there, I don't have a working libtcc1.a build yet and want to use the gnu library and am using the "--with-libgcc" configure option. However, despite what the configure help says, tcc still seems to link against libtcc1.a. Is this expected behavior, or a bug in the build scripts?
For reference this is my current configure invocation: ``` ./configure \ --debug \ --prefix=/usr \ --cpu=riscv32 \ --cc=gcc --cross-prefix=$(TARGET_CROSS) \ --elfinterp=/lib/ld-linux-riscv32-ilp32.so.1 \ --with-libgcc \ --triplet="." \ --extra-cflags="-Wall -O2 -march=rv32ima -mabi=ilp32 -fPIE -pie -fno-stack-protector -DTCC_RISCV_ilp32 -DTCC_LIBTCC1='\\\"\\\"' ``` Note the `-DTCC_LIBTCC1='\\\"\\\"'` to disable libtcc1 Thanks, -Sam Ellicott Soli Deo Gloria _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel