[Info-vax] C compiler snag
Richard Levitte
richard at levitte.org
Wed May 19 14:29:52 EDT 2021
onsdag 19 maj 2021 kl. 14:46:25 UTC+2 skrev osuv... at gmail.com:
> I replicated the problem, and got it work with
> cc/include="./incl" humpf.c
Ah! That actually makes sense, albeit a bit strangely. What I understand is that with this, "../something.h" will among others get to look at "./incl/../something.h", and that will find the header file in question.
Gotta admit, though, that it's a bit annoying having to do this sort of trick...
Anyway, thanks! This does help quite a bit.
Cheers,
Richard
More information about the Info-vax
mailing list