Pelles C forum
Pelles C => Feature requests => Topic started by: jwzumwalt on April 22, 2009, 06:40:22 AM
-
Ability to compile without making a project file :-)
(or maybe the solution is to default to a terminal build if there is no project)
This would allow quick and dirty testing and proof of concept development.
jz
-
You can use Tools->Customize...
Then add an Item with
Menu text: "Produce a C-file"
Command: cc.exe from the PellesC\Bin directory
Arguments: $(filename)$(fileext)
So you can compile and link a simple C-source file.
Pelle must not do everything. ;)
-
Hi jwzumwalt,
You can use simple batch files to build your projects.
-
I get this error after using your suggestion....
File not found: 'test.c'.
*** Program return 1 ***
You can use Tools->Customize...
Then add an Item with
Menu text: "Produce a C-file"
Command: cc.exe from the PellesC\Bin directory
Arguments: $(filename)$(fileext)
So you can compile and link a simple C-source file.
Pelle must not do everything. ;)
-
I get this error after using your suggestion....
File not found: 'test.c'.
*** Program return 1 ***
You can use Tools->Customize...
Then add an Item with
Menu text: "Produce a C-file"
Command: cc.exe from the PellesC\Bin directory
Arguments: $(filename)$(fileext)
So you can compile and link a simple C-source file.
Pelle must not do everything. ;)
Try to use in arguments: $(filepath)
I think, it would work better. For the my first solution you must start POIDE in the correct directory.
-
You can also make entries for Debug (Arguments: /Zi /DEBUG $(filepath) ) and Release (Arguments: /O2 $(filepath) ). If you use Debug, you can load the exe-file and Debug it with POIDE. ;)