Re: GCC 2.7/Debian Packages/Non ELF
"DE" == David Engel <firstname.lastname@example.org> 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.
>> 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
Here is the diff between the ELF debian.rules and my draft a.out
bedlam:[*root*]/E/gcc-2.7.2 # diff debian.rules.AOUT debian.rules.ELF
============================= quote ==============================
< # The object of the exercise
< target = i486-debian-linuxaout
< ( cd $(b) ; ../$(s)/configure --prefix=/usr $(target) )
> ( cd $(b) ; ../$(s)/configure --prefix=/usr i486-linux )
< cd usr/lib/gcc-lib/$(target)/$(v) ; \
> cd usr/lib/gcc-lib/i486-linux/$(v) ; \
< #cp -a include debian-$(p)/usr/lib/gcc-lib/$(target)/$(v)
> #cp -a include debian-$(p)/usr/lib/gcc-lib/i486-linux/$(v)
< 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
and if I want to end up with
then I guess the `./debian.rules build' should make
but if that is so then why is the line
#cp -a include debian-$(p)/usr/lib/gcc-lib/i486-linux/$(v)
-- <email@example.com> --
"5. Improve constantly and forever the system of production and
service, to improve quality and productivity, and thus constantly
decrease costs." (W. Edwards Deming)