Kompajliranje sa gss-om

Uzeo sam jedan jednostavan C program i pokusao ga kompajlirati.
Ja sam dobio samo izvrsni fajl,pa mi sada nije jasno gdje su ostali fajlovi,recimo objektni itd,kao sto je to na windows-u.
Da li postoje ostali fajlovi na linux,ili se generira samo izvrsni fajl.
I ako postoje gdje se oni nalaze?

hvala.

upises “man gcc” i sve ti se kaze :wink:
Da ovo ne bi bio samo rtfm post evo ti dio man-a koji govori o tome:

[code] -c Compile or assemble the source files, but do not link.
The linking stage simply is not done. The ultimate
output is in the form of an object file for each
source file.

       By default, the object file name for a source file is
       made by replacing the suffix .c, .i, .s, etc., with
       .o.

       Unrecognized input files, not requiring compilation or
       assembly, are ignored.

   -S  Stop after the stage of compilation proper; do not
       assemble.  The output is in the form of an assembler
       code file for each non-assembler input file specified.

       By default, the assembler file name for a source file
       is made by replacing the suffix .c, .i, etc., with .s.

       Input files that don't require compilation are
       ignored.
       
   -E  Stop after the preprocessing stage; do not run the
       compiler proper.  The output is in the form of prepro­cessed 
   source code, which is sent to the standard out­
        put.

       Input files which don't require preprocessing are
       ignored.

 	 [/code]

Dakle ako hoces samo objektni kod onda radis "gcc -c hamo.c"
Gdje je “hamo.c” ime datoteke koju kompajliras … kao rezultat dobices datoteku hamo.o koja je nelinkani oblik -S ili -E zaustavljaju proces u drugim fazama kompajliranja i mozes ih koristiti isto kao i -c, zavisno sta ti treba …

tnx