This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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...
No, darn it, that's for setting the host system type. How confusing. So in the final solution, one would use --target to set what machine the compilers will run on, and --define 'realtarget powerpc-405-linux-gnu' to set what machine that compilers will generate code for.
I'm going to skip all that for today, but keep it in mind for later. - Dan
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |