Unreviewed patch

Alexandre Oliva aoliva@redhat.com
Sun Feb 11 17:00:00 GMT 2001


On Feb 11, 2001, "Dave Korn" <davek-ml@ntlworld.com> wrote:

> FWIW, I've made a similar patch in my local source tree; my one allows the
> target header to provide definitions TARGET_OBJECT_SUFFIX and
> TARGET_EXECUTABLE_SUFFIX which override OBJECT_SUFFIX and EXECUTABLE_SUFFIX
> in the part of the driver that generates output files (but not the parts of
> the driver that search for files on the host).

FWIW, I have a patch that does this.  The problem is that it breaks
Canadian crosses because autoconf 2.13 can't cope with it.  I'm
waiting for autoconf 2.50 to re-post my patch.

> However, IMO the most properly correct way to do it would be for
> configure to work out the appropriate extensions to use for host and
> target files.

For host, yes, that would be fine.  But there's just no way for
autoconf to determine information for the target before we create a
compiler for the target, which requires deciding what the target
should look like by ourselves.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-patches mailing list