This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: why doesn't "--program-prefix=<foo>" work?
On Wed, Mar 12, 2003 at 05:05:05PM -0300, Alexandre Oliva wrote:
> On Mar 5, 2003, Daniel Jacobowitz <drow at mvista dot com> wrote:
>
> > Try this patch? I'm not sure if it's generally appropriate or not but
> > I've been using it for a while.
>
> /me thinks it would be appropriate not to replace, but to add the
> effects of prepending target_alias to names. Hard to tell whether to
> do it first or last, though. Probably prepend target_alias first,
> such that those who care can revert the effects with the transform
> patterns specified by hand.
Hmm, so specifying --program-prefix=foo- would give
foo-powerpc-elf-gcc? I don't think I agree with you; that's a pretty
unintuitive change, and it's also not parallel to the way we search for
cross tools. It seems to me that this should generate a GCC whose name
looks like the GAS it will use.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer