View Full Version : Im new a linux programming

01-06-2002, 07:26 AM
Is 'gcc' the same as 'gc ansi' when compiling a program?


01-06-2002, 08:49 AM
I'm not familiar with 'gc ansi'. However, using the -ansi flag with gcc (gcc -ansi) disables certain GNU features and makes the compile ANSI compliant. GCC C introduces certain new keywords to the C language (among some other things), and using the -ansi switch disables these gcc specific features. Check the gcc(1) manual page for more details.

01-10-2002, 08:08 PM
Hmm...I don't think gc ansi is the same, although I have never heard of it. It sounds to me like some kind of coding library or something....