• # man gcc propose quelques options

    Posté par . En réponse au message compilation dans un tmpfs. Évalué à 5.

    une option de compilation pour carrement ne pas utiliser de fichier temporaire

    -pipe
    Use pipes rather than temporary files for communication between the various stages of compilation. This fails to work on some systems where the assembler is unable to read from a pipe; but the GNU assembler has no trouble.

    ou une variable d'environnement pour definir ou seront placé les fichiers temporaires

    TMPDIR
    If TMPDIR is set, it specifies the directory to use for temporary files. GCC uses temporary files to hold the output of one stage of compilation which is to be used as input to the next stage: for example, the output of the preprocessor, which is the input to the compiler proper.