Quoting r. Doug Ledford <[EMAIL PROTECTED]>: > Subject: Re: RHEL5 and OFED ... > > On Tue, 2006-10-17 at 22:28 +0200, Michael S. Tsirkin wrote: > > On a tangent, is there a way to set up a cross-build environment that will > > build kernel modules for e.g. RHEL amd64 kernel on a 32 bit machine? > > I'm doing this now with gcc and kernel.org kernel I built myself from > > source. > > I guess I mostly need to get gcc and binutils SRPMs to generate > > cross-compiling tools - has anyone done that? > > At least for Red Hat, rpm already mostly supports this with only a few > examples of breakage (apps needing gfortran like openmpi are an example > that might break depending on usage).
So, you are saying I shuld rpmbuild binutils and gcc rpms? Hmm, I'll give it a try. > You can > call rpmbuild with the --target option to specify the mode you want the > package built as Hmm, no, I really want to take a srpm from amd64 and get a 32 bit gcc executable that will build 64 bit binaries that match these built on native amd64 system exectly. -- MST _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
