Re: cl options
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Thu, 05 Nov 2009 22:30:12 -0800
andrey the giant <andrey.vul@xxxxxxxxx> wrote:
Other compilers, such as gcc and icc, directly create the executable
from the source unless you run it in two stages:
$(CC) -c foo.c -o foo.o
$(CC) foo.o -o bar
Actually, they don't. They run the two steps separately, then delete the
object file afterward.
When I run VC9, $(CC) foo.c -o bar.exe creates foo.o, when I didn't
ask for it.
Well, it creates foo.obj. Just embed an erase command in the makefile.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
Relevant Pages
- Re: 3 C99 questions
... >> support GNU C are gcc, and, i believe also icc. ... These 2 compilers may be the ... > most widely used compilers which implement many useful parts of C99. ... (comp.lang.c) - Re: 3 C99 questions
... support GNU C are gcc, and, i believe also icc. ... These 2 compilers may be the ... most widely used compilers which implement many useful parts of C99. ... (comp.lang.c) - Re: Fastest Perl Interpreter
... > Is there significant advantage to using Intel's free icc over gcc? ... It's said to give faster binaries than gcc. ... compilers. ... (comp.lang.perl.misc) - Re: Patches to compile the kernel with Intels C/C++ compiler
... Icc knows better to schedule instructions for a P4 than gcc does. ... compilers a buggy, or your code is fine (yes, an overly optimistic point ... ICE issues for us) or in the code, but there could be/are bugs in gcc ... (freebsd-arch) - Re: Which PIC18 C Compiler?
... Walter gave a good answer regarding recursion in 8051 compilers, totally unrelated to gcc and/or sdcc (since there is no gcc port for the 8051). ... But in my experience on ColdFire's and PPC's, it has generated similar to or better than the few commercial compilers I have seen. ... (comp.arch.embedded) |
|