I tried that once, starting to read the docs I found, probably the same people here had advised you to, pretty old but probably works. However, I found out it was a huge job getting all the source files in place with exactly the right versions. And after next upgrade you have to fix all the files again. Puuuh. I gave up, too much work.
Since you should have it in a z box, code and compile in a x86 first, then it works, copy to your zLinux and recompile. Works fine for me :-) ________________________________________________ Tore Agblad zOpen, IT Services Volvo Group Headquarters Corporate Process & IT SE-405 08, Gothenburg Sweden E-mail: [email protected] http://www.volvo.com/volvoit/global/en-gb/ -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Florian Bilek Sent: den 27 oktober 2015 5:42 To: [email protected] Subject: Setting up gcc as cross compiler for s390x 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 ---------------------------------------------------------------------- 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/
