Re: Strange compiler/linker problem
"Christoph Schulte Moenting" <[email protected]> Thu, 15 Jul 2004 19:25:11 +0100
| Newsgroups | gmane.comp.ide.emx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 15 Jul 2004 10:57:02 +0200 (CEST), [email protected] wrote: >Looking at the temporary file names in your failure log, I'd suppose >that the object files get stored as cc?<pid> [snip] >"-fsave-temps" apparently uses a different algorithm for generating >temporary file names, so the problem does not occur. You are right, -fsave-temps just stores the intermediate files e.g. as builtins.i, builtins.s and builtins.o, so there is no conflict. >I'd suppose that "-pipe" might be able to solve the problem as well... Nope, I just checked that: It then executes something like "cpp builtins.c | cc1 | as > %TMP%\cc?<pid>", so I get the same problem with overwritten temp files (actually, when it has reached ccz<pid>, it just keeps that name). Thanks for the hint, it's always nice to know why something fails. Does anybody know if this is a "feature" of our emx/gcc (2.8.1) or if the problem would also occur with gcc on a linux system? Regards, Christoph