Re: config.guess manufacturer string?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

> [...] Regardless of whether the redhat is
> there or not, %configure should be setting --build and --host at least
> the same as --target.

right.[1]

Unless cross-building, build and host should be the same.
Unless building a cross-tool, host and target should be the same.
(And unless building a tool, like a compiler or a linker, the value
of target is irrelevant.)

So for usual Fedora development, all three should be the same, which
is best done by specifying --build only.  (The other two then default
to the same.)

rpm's %configure should not specify --host and --target.

I guess rpm has to support cross compiling and/or building
cross-tools.  But it would be IMHO better to separate the two cases.
I mean that %configure would contain

	./configure --build=%{_build} %{?cross_configure_opts} ...

Where cross_configure_opts would get defined to a non-nil value only
in the mnetioned special cases.

Have a nice day,
	Stepan

[1] I noticed that while writing the previous mail but I did not want
to broaden the topic.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux