Problem with some canadian cross builds
H. J. Lu
hjl@lucon.org
Thu Aug 1 23:46:00 GMT 2002
On Fri, Aug 02, 2002 at 09:34:30AM +0300, Momchil Velikov wrote:
> >>>>> "H. J. Lu" == H J Lu <hjl@lucon.org> writes:
> H. J. Lu> This what I have in my gcc spec file:
>
> H. J. Lu> %if %{cross_compile}
> H. J. Lu> # Install syslimits.h for canadian cross compile.
> H. J. Lu> pushd $RPM_BUILD_DIR/gcc-3.1-%{DATE}/obj-%{_target_platform}
> H. J. Lu> #pushd $RPM_BUILD_DIR/gcc-%{version}-%{DATE}/obj-%{_target_platform}
> H. J. Lu> cp -af ../gcc/gsyslimits.h $FULLPATH/include/syslimits.h
>
> Which reminds me of this patch, which was either too stupid or simply
> went unnoticed.
>
> http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00699.html
I don't know if you can use gcc/gsyslimits.h for all platforms.
H.J.
More information about the Gcc
mailing list