Le jeudi 29 mars 2012 01:17:58, David Mertens a écrit : > Hey all - > > I'm making wonderful progress putting libtcc and Perl together. You can > check out the latest development here: https://github.com/run4flat/perl-TCC > > At the moment I find that any path that I add to the system include paths > gets searched when I later #include "lib.h", so long as the header couldn't > be found in the non-system search path. That's fine, that's what I > expected. However, I also see that if I include a path in the non-system > include paths (i.e. tcc_add_include_path), it gets searched when I say > #include <lib.h>, which is not what I expected. This is demonstrated with > tests in this file: > https://github.com/run4flat/perl-TCC/blob/master/t/111-compile-include.t(sp > ecifically starting at line 149)
Yes, tcc_add_include_path correspond to what -I does. So I would say it's the normal behaviour. > > That, of course, is a Perl script. I will be happy to boil this down to a C > program, but I first wanted to be sure that I hadn't lost my mind. > > Thanks! > David Thomas Preud'homme
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel