Greetings All,
I was wondering about how a build process goes on in Vc++.
I want to know that is there any intermediate assembly file generated while building a source file as what happens with gcc.
If the answer is no ,then why gcc build process has this ones step extra overhead of generating an assembly and then finally an obj using an assembler.This should be time inefficient.
What is the use of generating an intermediate assembly file?
Only one use I can understand is the support of inline assembly in gcc, but for VC++ we need to call the assembler manually.

Please erase my confusion.

Cheers!!

Recommended Answers

All 2 Replies

Sorry for the wrong thread tiltle.
That was supposed to be VC++ vs gcc

Cheers!!

Just a guess, but the assembly stage would probably be used for computing the location of lables and such. It would be more efficiant to compute them at this stage than cumputing them from higher stage's. Also it probably add's flexibility to the entire gcc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.