Pure C compilation in VS 2017

  • Thread starter Thread starter Nemasnis
  • Start date Start date
N

Nemasnis

Guest
Hi,


I wish to compile pure C and C++ programs wihtout OS specific features.

I tried to install minimal VS 2017 environment, but there are no project templates, e.g. only blank solution and shared project are available, thus, I cannot access project properties, and set things up. Apparenty, on writing a simple helloworld.c, neither stdio.h nor cstdio are found by the IDE (#include directive is underlined red).

The same happens on the command line utilites.


I want to emphasize, I do not intend to use OS specific features, intend to write "pure" portable code.

I will perhaps require some Win32 API calls, but that's it. Also, I want to use various make utilites and other compilers, but I don't want to integrate them into VS.


If someone knowledgable could advise me on a reasonable set of individual components needed to install minimal working setup that is able to compile a helloworld in C.


Thanks in advance.

R. Peat

Continue reading...
 
Back
Top