On Tue, 27 Oct 2015 12:08:52 -0500 Harold Grovesteen <[email protected]> wrote:
> On Tue, 2015-10-27 at 17:41 +0100, Florian Bilek wrote: > > Dear all, > > > > Any hint to a howto setting up gcc 4.8.3 as cross compiler for > > s390x on Intel x86_64? > > > > I found some information regarding very old versions of gcc and > > then only for 31bit s390. > > > > I have a CENTOS 7.2 on X86_64 installed which I would like enable > > building rpm packages for s390x. > > > > Thanks in advance. > > > > > > -- > > Best regards > > > > Florian > > Try, > > http://crosstool-ng.org/ > > There are some old samples for s390 architecture that you should be > able to tweak for the newer releases. you can get inspired also by http://pkgs.fedoraproject.org/cgit/cross-gcc.git/tree/cross-gcc.spec but generally cross compiling rpms is not supported use case Dan ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
