[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] RFC: ignore include errors ?
From: |
Luigi Rizzo |
Subject: |
[Tinycc-devel] RFC: ignore include errors ? |
Date: |
Fri, 12 Nov 2010 18:03:47 +0100 |
User-agent: |
Mutt/1.4.2.3i |
especially when compiling stuff on embedded platforms, i find it
terribly annoying having to carry around a ton of C headers.
I wonder if there is interest for an option to ignore
errors on missing #include files (patch attached, as
you see it is really trivial)
The goal would be that an application could carry its own
"system header" as a single file and then be compiled with
tcc -include tcc_system_headers.h -include ignore_include_errors ...
where the first -include specifies the file that replaces
all necessary system headers, and the "-include ignore_include_errors"
is actually trapped by the compiler to ignore errors on missing
headers.
This way putting tcc on an embedded system would be really trivial
in terms of the number of files involved.
cheers
luigi
tcc-ignore-errors.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] RFC: ignore include errors ?,
Luigi Rizzo <=