Re: Missing -D_FILE_OFFSET_BITS=64 leads to files not opening (x86 /32bit)
On 12.03.11 Pierre SCHNIZER <p.schnizer@gsi.de> (p.schnizer@gsi.de) wrote:
> Happy to answer any further questions
>
Another question:
> diff -r -u -d texlive-bin-2009/debian/rules texlive-bin-2009-modified//debian/rules
> --- texlive-bin-2009/debian/rules 2011-03-12 21:23:52.000000000 +0100
> +++ texlive-bin-2009-modified//debian/rules 2011-03-11 17:43:19.000000000 +0100
> @@ -18,6 +18,11 @@
> ifneq (,$(filter $(DEB_BUILD_ARCH),$(GCC_44_ARCHES)))
> export CC=gcc-4.4
> export CXX=g++-4.4
> + export CC="$CC -g -ggdb"
> + export CXX="$CXX -g -ggdb"
> +else
> + export CC=gcc -D_FILE_OFFSET_BITS=64
> + export CXX=g++ -D_FILE_OFFSET_BITS=64
> endif
>
> ifneq (,$(filter $(DEB_BUILD_ARCH),$(RELAX_ARCHES)))
>
I don't understand this patch. It introduces the options "-g -ggdb"
for the architecture armel and the option "-D_FILE_OFFSET_BITS=64"
for all arches except armel.
1. Why should be build with debug symbols by default ("-g -ggdb")?
2. Is the option -D_FILE_OFFSET_BITS=64 really only on arches !armel
needed or can the option bei introduced in general?
H.
--
A man is like a rusty wheel on a rusty cart,
He sings his song as he rattles along and then he falls apart.
-- Richard Thompson
http://www.hilmar-preusse.de.vu/
Reply to: