This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: New approach to --with-cpu
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: drow at mvista dot com
- Date: Tue, 30 Jul 2002 21:31:41 -0400 (EDT)
- Subject: Re: RFC: New approach to --with-cpu
>From a PA standpoint, the main objection that I have to this approach
is that there seems to be a slight loss of flexibility. You use "with_cpu"
to set the default scheduling model. However, I was also planning to set
the default arch based on the target machine when a linker bug in handling
PA2.0 code is fixed. I view these options as independent although the
configure defaults would both be based on the target triplet. Thus,
it would be necessary to introduce a new configure option to handle
the arch default. In the future, I can see other default code generation
options being set-table.
I must admit that I don't really like the multilib concept and find
it a rather idea to build libraries for all scheduling models,
archs, etc. Thus, I don't find this justification attractive.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)