Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

difference between GCC and normal C(used in windows)

Status
Not open for further replies.

H_D_R

Full Member level 6
Joined
Jan 31, 2008
Messages
329
Helped
26
Reputation
52
Reaction score
9
Trophy points
18
Location
India
Activity points
0
difference between the gcc and windows c

Hello all,

I want to know the difference between the GCC and our windows C (which we are using regularly..like Turbo C etc.)

Can anyone post the link from where I can get the difference between these two.

Thanking you all in advanced..
 

Re: difference between the gcc and windows c

See C is C, GCC is a compiler available for several OSs and platforms for C,C++,OBJ-C etc... . Even for Windows.
Turbo C OR VC are also compilers for C language available for DOS and Windows respectively.

Before knowing difference we should know the similarity. Both support ANSI C. AND extend it to support few extensions. Those extensions are "Compiler specific extensions" And found in the Documentations.

Next GCC generally generate ELF on UNIX variant system and can generate COFF too for DOS(DJGPP)
on the other hand Turbo C generates OMF format OBJ files and linker links it to the platform specific EXE file (MZ EXE or PE EXE)

VC generates OBJ and links to PE EXE only (AFAIK)

The last ( NOT Least) and most important difference is GCC is open source and according to need the Back-End for several architecture could be written. But Both TC and VC are Proprietary Hence no such feature to generate different Backend code.
 

There is no much difference between GCC and turbo C.....One thing is by default GCC take integer variable as long int and turbo C take integer as short int

And there are some libraries which are not used in GCC like conio.h.....
 

There is no much difference between GCC and turbo C.....One thing is by default GCC take integer variable as long int and turbo C take integer as short int

And there are some libraries which are not used in GCC like conio.h.....

Well GCC is not the C compiler alone. It a front-end for several compilers( GNU Compiler Collection)
Defaulting to Long int or short int is Implementation specific.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top