crosstool and .rpm's

Dag Wieers dag@wieers.com
Tue Jul 27 20:51:00 GMT 2004


On Tue, 27 Jul 2004, Daniel Kegel wrote:

> Ralf Corsepius wrote:
> > > (I still don't know how to
> > > make a single .SRPM for multiple targets, though.
> > 
> > It's darn complicated ;)
> > 
> > > From my experience (I am the author of the RTEMS cross toolchain
> > rpm-specs), if you really want to provide a single SRPM, you probably
> > will have to resort to passing the target via rpm-defines
> > (rpmbuild --define 'xtarget xxxx').
> 
> Oooh, then there's also the --target flag.  Maybe that's the standard
> way to do it...

Yes it is the standard way to do that. We actually have examples of how 
you even can use macros or have blocks depending on the target (or build 
environment you're building against).

I'm still very interested to have these packages available in the 
different repositories we maintain for Red Hat/Fedora/Tao/CentOS/Yellow 
Dog for the different architectures (currently i386,x86_64,ppc,alpha and 
also s390)

--   dag wieers,  dag@wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list