Re: Fedora and Cross Compiling

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

 



David Woodhouse wrote:
I see you've actually pulled in glibc sources and you're using them in
the gcc build. I was trying to avoid that.

Yeah, it's nasty but necessary until you have binaries for your dependencies. Hopefully gcc will split out all its support libraries in time such that it isn't necessary. Meanwhile, it's only a problem for arches that the build system doesn't already have a glibc for.

I suppose if we can depend on having a sysroot populated with
appropriate glibc-*.$ARCH.rpm packages then the bootstrap approach isn't
_so_ bad, but that might be a lot to expect of yum/koji.

It's an area of the build system that has to be extended for cross compiling to work in general. Making the cross compiler build is but a small example of the general case. There are plenty of packages which have multi-layer dependencies. The build system needs to resolve those, installing the packages into the sys-root for the cross compiler to compile and link against. This falls to the build system because it would be silly for each and every package to have to do that itself.

--
Brendan Conoboy / Red Hat, Inc. / blc@xxxxxxxxxx

--
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