Toadums
Toadums

Reputation: 2812

Using the lcc-win compiler from the command line

I have installed the lcc compiler so that I can compile c programs on my windows machine - but I am having troubles getting it to work...

I added C:\lcc\bin to my PATH environment variable, but when I type in:

lcc args

into my command line, I get this message: 'lcc is not recognized as an internal or external command, operable program or batch file'.

If I actually navigate to the folder C:\lcc\bin, I can execute lcc no problem

Is there something else I have to do other than set the PATH variable?

thanks!

Upvotes: 1

Views: 3519

Answers (1)

Paul Verbelen
Paul Verbelen

Reputation: 1

I had also problems using lcc. By accident I started the editor that was also included in the package. Since then it works. I notice that I have to perform this operation each time I install it on a new computer. I suppose that it has to do with some initialization files that are required, but only created by the editor. Maybe this will also helps you.

Upvotes: 0

Related Questions