[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Symlinks in include paths
From: |
Petr Skočík |
Subject: |
[Tinycc-devel] Symlinks in include paths |
Date: |
Tue, 26 Sep 2017 14:47:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Hi, I noticed the tcc preprocessor doesn't resolve symbolic links when
resolving includes. This cancels include caching (#pragma once) if a
file gets included from two different paths.
Attached is a simply fix that adds such path resolution, although you
might want to do it differently if you do want to include it.
(Both gcc and clang do it, and it would help my project, where I would
like to support these 3 compilers).
Regards,
Petr S.
0001-take-symlinks-into-account-when-resolving-includes.patch
Description: Text Data
- [Tinycc-devel] Using tinycc for full source bootstrapping, Jan Nieuwenhuizen, 2017/09/24
- Re: [Tinycc-devel] Using tinycc for full source bootstrapping, u-jps5, 2017/09/26
- Re: [Tinycc-devel] Using tinycc for full source bootstrapping, KHMan, 2017/09/26
- Re: [Tinycc-devel] Using tinycc for full source bootstrapping, Michael B. Smith, 2017/09/26
- Re: [Tinycc-devel] Using tinycc for full source bootstrapping, KHMan, 2017/09/26
- Re: [Tinycc-devel] Using tinycc for full source bootstrapping, Michael B. Smith, 2017/09/26
- Re: [Tinycc-devel] Using tinycc for full source bootstrapping, KHMan, 2017/09/26
- Re: [Tinycc-devel] Using tinycc for full source bootstrapping, Christian Jullien, 2017/09/27
- Re: [Tinycc-devel] Using tinycc for full source bootstrapping, Kamil Rytarowski, 2017/09/27