Well, here I am, having problems(again) with my compilers. Since I wanna move away from TC 3.0, I checked out some many different compilers, and my favorite is Tiny C Compiler(tcc). It's light, and is 9 times faster(at least they said so) than gcc.
And... I kinda like my stuff the simple yet effective way, like MicroASM(I'm still searching for it's download, PM me if you can help).
So I just use Notepad.
I managed it to add "Compile" and "Compile and Run" options to the '.c' extension, but I still need to create some kind of shortcut to tcc - Instead of typing ' C:\tcc\tcc.exe -run file ' every time, I wanna type just ' tcc.exe -run file ', like with cmd.exe.
How can I do that?
Thanks folks...
Short C:\tcc\tcc.exe to just tcc
Started by AdvMutant, Oct 17 2010 06:04 AM
2 replies to this topic
#1
Posted 17 October 2010 - 06:04 AM

There is no problem that cannot be solved by the use of high explosives.
|
|
|
#2
Posted 19 October 2010 - 01:15 AM
In control panel -> system, there should be an advanced tab where you can add enviornmental variables. Simply edit the one that says "PATH=", add a semicolon to the end, and type "C:\tcc\"
Atleast that is how I remember it, that will allow CMD to include TCC's path without typing it, much like how you access programs like "ping" without typing C:\windows\ping.exe
Atleast that is how I remember it, that will allow CMD to include TCC's path without typing it, much like how you access programs like "ping" without typing C:\windows\ping.exe
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 21 October 2010 - 10:16 AM
Oh, ok thanks :)

There is no problem that cannot be solved by the use of high explosives.


Sign In
Create Account


Back to top









