Re: Strange compiler/linker problem
[email protected] Thu, 15 Jul 2004 10:57:02 +0200 (CEST)
| Newsgroups | gmane.comp.ide.emx.devel |
|---|---|
| Message-ID | <[email protected]> |
Christoph Schulte Moenting schrieb:
> Any hints on what goes wrong? Adding -save-temps to get
> something linked is
> a very ugly hack :-)
Looks like an EMX bug to me:
Looking at the temporary file names in your failure log, I'd suppose
that the object files
get stored as cc?<pid>, pid being a 5 digit
number representing the process ID (00550 in
your case) and "?" being a letter in the
range "a-z". So, if you have more then 26
files (and you do have about 30), temporary
object files start to overwrite each other
and linking fails because some object files are missing. "-fsave-temps"
apparently
uses a different algorithm for generating
temporary file names, so the problem does
not occur. I'd suppose that "-pipe" might
be able to solve the problem as well...
Regards,
Stefan