Mail Archives: djgpp-workers/1997/11/27/08:31:02
On Thu, 27 Nov 1997, Eli Zaretskii wrote:
> On Wed, 26 Nov 1997, Hans-Bernhard Broeker wrote:
> > * Unzipping the sources on Linux (with '-a' to get rid of CR's) exposes
> > some filename problems, mainly the .s <--> .S issue. Real fix would of
> > course be to zip them up as '.S' right away. Some problems will not be
> > fixed that way though.
> Which files are those, and why a correct file name doesn't fix that?
The main problem is in two places:
1) In src/libc/crt0, the files 'crt0.s' and 'gcrt0.s' have to be renamed,
otherwise 'make' won't find them (it explicitly names them in rules, so
the usual trick with the pattern rule %.o: %.s doesn't work here). But
once they are renamed, 'gcrt0.S' still won't compile, as it #includes
'crt0.s' instead of 'crt0.S'.
2) 'make clean' in src/libc/stubs removes '*.S', but here, the files
generated by 'mkstubs.exe' are actually called '*.s', even on Linux.
The patch set fixes 2), but for 1), I only offer a shell script to
do the necessary changes.
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the
snow were burnt, ashes would remain.
- Raw text -