[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] [patch] implement the -M option
From: |
Luigi Rizzo |
Subject: |
[Tinycc-devel] [patch] implement the -M option |
Date: |
Tue, 1 Dec 2009 22:10:02 +0100 |
User-agent: |
Mutt/1.4.2.3i |
Hi,
attached is a very small patch for tcc that implements the -M option
(used to generate header dependencies by mkdep).
The patch is trivial -- essentially it reuses the code for -E to create
the list of headers used by a file.
The same patch also includes 4 lines that serve
to ignore the '-std=XXX' option sometimes used to invoke the compilers
(for what matters, my goal is try and build FreeBSD using tcc).
Feel free to put this in an #ifdef if you think is questionable.
Hope people will find it useful.
cheers
luigi
patch-z1-mode_m
Description: Text document
- [Tinycc-devel] [patch] implement the -M option,
Luigi Rizzo <=