>>> On 6/3/2009 at 2:30 PM, Lee Stewart <[email protected]> >>> wrote: > This was posed by one of our customers...... > > I'm having trouble linking (ld) as a 31-bit executable. I've got the C > flags set-up correctly, I think (they are compiling as 31-bit), but I'm > getting this message when doing ld: > ld: Relocatable linking with relocations from format elf32-s390 > (/devel/supra1/rel1.3.1m/linux/obj/dis_iqt.o) to format elf64-s390 > (/devel/supra1/rel1.3.1m/linux/obj/dapdis.o) is not supported > I'm using -m31 > And > --oformat elf32-s390
I just ran a simple "Hello World" test and this works for me: gcc -m31 -o hello hello.c Now, I do get an oddly different output from that when run as 31-bit compared to 64-bit, but it does link and execute. Mark Post ---------------------------------------------------------------------- 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
