Board index » cppbuilder » compile a C file

compile a C file


2006-12-12 08:36:44 AM
cppbuilder54
Hi to everyone,
How do I compile a C file that I just opened witout any project?
The run icon is grayed.
Thanks for your attention.
Jean Pierre Daviau
 
 

Re:compile a C file

"Jean Pierre Daviau" < XXXX@XXXXX.COM >wrote in message
Quote
How do I compile a C file that I just opened witout any project?
You don't. You need a project in order to compile in the IDE. Otherwise,
use the command-line compiler instead.
Quote
The run icon is grayed.
You can't run a file without a project.
Gambit
 

Re:compile a C file

Pretty clear ;-)
 

{smallsort}

Re:compile a C file

Hi,
Quote

How do I compile a C file that I just opened witout any project?
It doesn't satisfy your requriment of "without any
project" but the Console Wizard (BCB) or Console
Application (BDS) lets you compile and run .C or
.CPP source with or without your own main entry point.
--Craig
 

Re:compile a C file

Quote

You can't run a file without a project.

In bds2006 this is false.
You _can_ run/debug a program without a project . (To be usefully debugged,
should probably be compiled with debugging information enabed [-v, -y with
command line compiler].)
See menu options "run/Load Process" - fill in the blanks appropriately, and
select "Load."