Patches for config.{guess,sub} needed

Marcel Moolenaar marcel at xcllnt.net
Sat Jul 5 00:17:35 PDT 2003


[ia64@ removed from CC list]

On Fri, Jul 04, 2003 at 10:58:29PM -0700, Peter Wemm wrote:
> > 
> > On Fri, Jul 04, 2003 at 08:21:20PM -0700, Marcel Moolenaar wrote:
> > > On Fri, Jul 04, 2003 at 07:02:48PM -0700, Kris Kennaway wrote:
> > > >=20
> > > > and send me patches against these scripts to DTRT when run on ia64 and
> > > > amd64?  These patches should also be submitted back to the GNU people.
> > >=20
> > > No patches are needed for ia64. The latest config.sub works.
> > >=20
> > > On amd64, config.guess prints "amd64-unknown-freebsd5.1", which
> > > I expect is correct. Attached a patch for config.sub to recognize
> > > amd64 as the machine. Things may be more complicated on amd64,
> > > because I'm not sure people have settled for amd64 or x86_64 as
> > > the machine name.
> > 
> > Thanks.  As soon as I get an amd64 world built I'll give this a try on
> > sledge.  I'll also start a new ia64 build run on pluto1.
> 
> The 07-02-2003 version I downloaded seemed to work as expected on sledge
> without any suprises.  Mind you, I'm not entirely sure what these things
> are supposed to be doing. :-)

The patch handles non-default vendor strings. Without the patch,
config.sub complains for:

	sledge% sh -f config.sub amd64-undermydesk-freebsd
	Invalid configuration `amd64-undermydesk-freebsd': machine `amd64-undermydesk' not recognized

	sledge% sh -f config.sub amd64-portbld-freebsd
	Invalid configuration `amd64-portbld-freebsd': machine `amd64-portbld' not recognized

Both we use by default. Standard strings are already handled:

	sledge% sh -f config.sub amd64-freebsd
	x86_64-pc-freebsd

	sledge% sh -f config.sub amd64-unknown-freebsd
	amd64-unknown-freebsd

FYI,

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel at xcllnt.net


More information about the freebsd-amd64 mailing list