"DE" == David Engel <david@elo.ods.com> writes:
DE> Try adding a "-I<path-to-gcc-source>/include" to the CFLAGS you
DE> use when building with the new compiler.
>>
>> I just unpacked gcc-2.7.2 and g77-0.5.17 (again) and I don't see
>> any directory named `include' anywhere in or under the top directory,.
DE> The include directly is created when stage1 is built.
Ta-DAH!
Thank you.
>> I have exactly one file named `float.h' and it is located in
>> directory `/usr/lib/gcc-lib/i486-debian-linux/2.6.3/include/'.
>> Which `float.h' is g77 looking for ...
DE> Probably the one that is created in the new gcc include directory.
>> ... and why isn't it located where g77 evidently expects it to
>> be?
Here is the diff between the ELF debian.rules and my draft a.out
debian.rules:
bedlam:[*root*]/E/gcc-2.7.2 # diff debian.rules.AOUT debian.rules.ELF
============================= quote ==============================
39,41d38
< # The object of the exercise
< target = i486-debian-linuxaout
<
52c49
< ( cd $(b) ; ../$(s)/configure --prefix=/usr $(target) )
---
> ( cd $(b) ; ../$(s)/configure --prefix=/usr i486-linux )
106c103
< cd usr/lib/gcc-lib/$(target)/$(v) ; \
---
> cd usr/lib/gcc-lib/i486-linux/$(v) ; \
108c105
< #cp -a include debian-$(p)/usr/lib/gcc-lib/$(target)/$(v)
---
> #cp -a include debian-$(p)/usr/lib/gcc-lib/i486-linux/$(v)
110c107
< debian-$(p)/usr/lib/gcc-lib/$(target)/$(v)/cpp \
---
> debian-$(p)/usr/lib/gcc-lib/i486-linux/$(v)/cpp \
=========================== unquote =============================
So, if I now have
/usr/lib/gcc-lib/i486-linuxaout/2.6.3/include/
and if I want to end up with
/usr/lib/gcc-lib/i486-linux/2.7.2/include/
then I guess the `./debian.rules build' should make
.../gcc-2.7.2/debian-gcc/usr/lib/gcc-lib/i486-linux/2.7.2/
but if that is so then why is the line
#cp -a include debian-$(p)/usr/lib/gcc-lib/i486-linux/$(v)
commented out?
Bill
-- <bhogan@rahul.net> --
"5. Improve constantly and forever the system of production and
service, to improve quality and productivity, and thus constantly
decrease costs." (W. Edwards Deming)