tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] When building tcc, change build-time (not tcc's) include


From: squidrin
Subject: [Tinycc-devel] When building tcc, change build-time (not tcc's) include directory to an abnormal path
Date: Sun, 4 Dec 2022 03:08:59 +0100 (CET)

I am having trouble compiling from an include path that is not /usr/include. I 
want to compile using /usr/local/musl/include. I have already tried 
./configure --sysroot=/usr/local/musl/include
and gcc fails to compile, citing that it could not find stdio.h in config.h
When compiling the same file with gcc with the same sysroot option and 
parameter, the file compiles fine, and gcc shows with -print-sysroot that it 
does use stdio.h in /usr/local/musl/include.
Could someone help me? Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]