Re: (long) An AES implementation for 32-bit platforms

From: Phil Carmody (thefatphil_demunge_at_yahoo.co.uk)
Date: 06/17/03


Date: Tue, 17 Jun 2003 01:32:56 +0300

On Mon, 16 Jun 2003 15:37:23 +0200, Shill wrote:

>> What's an "extension" on a filename?
>> My files have filenames, end of story.
>>
>> Aiming at foot before pulling trigger always bad idea.
>
> man gcc
>
> Suffixes of source file names indicate the language
> and kind of processing to be done:
>
> .c C source; preprocess, compile, assemble
> .C C++ source; preprocess, compile, assemble
> .cc C++ source; preprocess, compile, assemble
> .cxx C++ source; preprocess, compile, assemble
> .m Objective-C source; preprocess, compile, assemble
> .i preprocessed C; compile, assemble
> .ii preprocessed C++; compile, assemble
> .s Assembler source; assemble
> .S Assembler source; preprocess, assemble
> .h Preprocessor file; not usually named on command line
>
> But you knew that.

What does
  gcc -x c file.C
do - C or C++ compilation?

gcc isn't a compiler, it's a suite of compilers, it makes a stab what
to compile as using the filename's suffix. It can also compile FORTRAN and
Ada. More than that, it can also compile stdin too which doesn't even have
the concept of an actual filename.

Phil



Relevant Pages

  • Re: How do I install this missing library?
    ... you really should be carefully following LSTC's installation ... libg2c is part of gcc. ... to tell a newcomer to compile. ... like the source code to GNU tar, and make sure you understand what's ...
    (comp.os.linux.misc)
  • Re: HPGCC Questions ladies and gentlemen!!!
    ... No matter how you slice it in order to compile a C program you need to know ... it took a few hours just to get gcc running in my computer ... of the students that used an ide in the c++ class I took a few years ago. ... so why not use a data inspector if it's available? ...
    (comp.sys.hp48)
  • Re: Aquarius prolog so fast?
    ... Mercury cannot do all this because Mercury cannot keep track of the fact ... you need this capability quite rarely, ... Why not the alternative GCC back-end, ... While Mercury can compile to the internal data structures of the gcc backend, ...
    (comp.lang.prolog)
  • Re: Question about gcc on OS X 10.0.4.11 Tiger
    ... running Linux and gcc 4.0.2. ... How do I switch to a different version of gcc to compile with on OS X ... fgetsis a libc function and is not really part of the compiler. ... int main(int argc, char* argv){ ...
    (comp.sys.mac.programmer.help)
  • Re: gcc install
    ... > a good book on the topic of gcc and went about trying to set it up when ... > to get a precompiled compiler to compile the compiler LOL. ... - install the Sun Studio tools, they live in /opt/SUNWspro, modify ... Companion CD - installs in /opt/sfw you can get a GNU make and a gcc ...
    (comp.unix.solaris)

Quantcast