[M3devel] response file changes?
Olaf Wagner
wagner at elegosoft.com
Sat Feb 23 16:52:06 CET 2008
Quoting Jay <jayk123 at hotmail.com>:
> Nobody should depend on this strange heuristic-based behavior..
> I know that doesn't make it so, but it does possibly legitimize changing it.
OK, probably you're right there.
> > as long as their names are unique.
>
> Right, like how I'm doing now _m3responsefile0.txt, _m3responsefile1.txt.
> I wrap around from 9 to 0 because Quake can't do math.
> In practise there's only ever one or two response files per
> directory, one to make in import .lib and one make a .dll, or just
> one to link an .exe.
We could just add a function to create a unique tmpfile name in
a given directory to quake.
There's the tempfiles package in m3-libs.
Olaf
> C compilation doesn't use response files, but it could if the
> parameters got long and esp. if there were lots of C files in one
> directory and batch compile them instead of one at a time.. That's a
> nice optimization in C-based systems, not a big deal in Modula-3
> with so few .c files.
>
> Maybe soon I'll rip out my code, and then fix the reliable deletion,
> and THEN move the directory...
>
> - Jay
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list