In a message dated 4/15/2002 13:33:33 PM Central Daylight Time,
gi...@li... writes:
> Hello,
>
> I do not know what "runtime calls" are, probably my computer knowledge is
> too limited, so excuse me if, only a newbie, I try to give some hint.
>
> What I wanted to say (but I'm sure you already know it) is this: if I have
> some code in the file "hello.c" and wish to make the binary file, I type
> "gcc hello.c" and then just rename the file "a.exe" to something I like
> (perhaps hello.exe).
>
> Of course I'm talking about console applications, since I do not know
> anything about Windows programming
Most compilers I've used the command line option has switches. The way I
found out what the switches were is to access the MsDos prompt, change
directories to the one with the compiler in it and then enter the compiler
name with nothing else.
In most cases this will give you a list of compiler switches. What I do next
is to select the switches as text, and then copy it and paste it in Notepad,
WordPad, or any other Text Editor.
After doing this I then print the document containing the switches and go
back to the command line and compile the source file using the switches
you've printed out.
You're going to have to experiment with this until you hit the right
combinations, but that's how I learn things, mostly though through my
mistakes.
Also most debuggers and linkers use switches so you can access them the way I
do.
With warmest regards,
Danny
|