This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 32/64 startfile path handling
On Tue, May 21, 2002 at 03:34:44PM +0930, Alan Modra wrote:
> * configure.in (CROSS): Define NATIVE_CROSS.
> * configure: Regenerate.
> * gcc.c (STARTFILE_PREFIX_SPEC): Define.
> (startfile_prefix_spec): New var.
> (static_specs): Add startfile_prefix_spec.
> (do_spec_2): Split out from..
> (do_spec): ..here.
> (main): Process startfile_prefix_spec.
> * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Add -Y, change name
> of dynamic linker.
> (STARTFILE_PREFIX_SPEC): Define.
> (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
> absolute paths.
Everything looks ok except the positioning of the -Y bit.
Why do you want that during a cross-compile?
r~