ImportC "no include path set"

Elfstone elfstone at
Tue Feb 7 06:25:59 UTC 2023

On Monday, 6 February 2023 at 14:35:53 UTC, bachmeier wrote:
> On Monday, 6 February 2023 at 06:55:02 UTC, Elfstone wrote:
>> So how am I supposed to set the include path?
>> The -Ppreprocessorflag switch passes preprocessorflag to the 
>> preprocessor.
> So if you normally use `-I/foo`, you'd add `-P-I/foo`.

Thanks, it worked, but I still get the link error.
I wasn't expecting to configure include paths and link the right 
libc myself. The doc says the simple "dmd hello.c" should create 
"hello.exe". It must be a bug.

More information about the Digitalmars-d-learn mailing list