This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Target specification syntax
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: "Rupert Wood" <me at rupey dot net>
- Cc: "'David A. Braun'" <braun at research dot panasonic dot com>, <gcc-help at gcc dot gnu dot org>
- Date: 18 Aug 2003 10:23:10 -0700
- Subject: Re: GCC Target specification syntax
- References: <E19omZj-0000jn-0U@anchor-post-39.mail.demon.net>
"Rupert Wood" <me@rupey.net> writes:
> David A. Braun wrote:
>
> > Well! That's pretty extreme! Rejecting MIME content type of
> > Text/html! A little paranoid are we?
>
> I don't think it's paranoia - you'll find a lot of free software mailing
> lists object to HTML mail. It's probably historic (lots of free MUAs support
> it fine now) or bandwith or something, or simply some people prefer plain
> text mail anyway. (It gets a mention in the list policies:
> http://gcc.gnu.org/lists.html). If you're still having problems, there's a
> smallish mailing list FAQ here:
>
> http://sources.redhat.com/lists.html
>
> including the anti-spam policies. (IIRC sources.redhat.com is the same
> machine as gcc.gnu.org.)
>
> > At several points in my scan of the GCC installation documentation
> > there are references to target specs such as "i386-redhat-linux" or
> > "alpha*-*-*". Looking at the configure script for several packages
> > there seems to be a standard syntax for this string. Is this syntax
> > documented anywhere?
>
> I've never seen any documentation but the canonical source is the GNU
> 'config' package: config.guess and config.sub. I can't find a homepage for
> it in the FSF software directory and there's no documentation in the config
> CVS beyond comments in the scripts. I've always called it a 'target triple',
> but the format can now be four groups: (from config.sub)
>
> # The goal of this file is to map all the various variations of a
> # given machine specification into a single specification in the
> # form:
> # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
> # or in some cases, the newer four-part form:
> # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
> # It is wrong to echo any other type of specification.
Doesn't that imply i386-redhat-linux is either wrong, or implies
redhat is the manufacturer? Should it be i386-pc-linux-redhat ?