On Fri, 24 Oct 2025 11:15:30 -0500, Paul Edwards <[email protected]> wrote:
>On Fri, 24 Oct 2025 16:06:43 +0000, Dick Williams <[email protected]> >wrote: > >>LOL, good luck, you’re gonna need it. > >Well, it has actually been going very well. It is accepting >parameters. But this is the main issue I was dealing >with today - gcc, not mcc: > >https://gcc.gnu.org/pipermail/gcc/2025-October/246863.html This was circumvented with -mno-sse >Roll on mcc ... And indeed - not so much luck, as perseverance (see the massive number of changes!), paid off. I have a new ucx64e.zip available, and it can now compile a sample program (as per instructions in the distribution) to demonstrate glorious EBCDIC (note that I am displaying :mcc.exe here, accessing the host file, but you now just need "mcc" (no colon) as it is on the VHD in the "dos" directory) ... bios starting type in "dir" to get a list of files type in "type" to show the contents of a file type in "e/me/uemacs file.txt" to edit a file ctrl-x, ctrl-s saves; ctrl-x, ctrl-c quits about to execute program with entry point 0000000041B01000 welcome to PDOS-generic running as pdos before printing parm argv1 is fba1b1.vhd about to open disk done open lba is 1f8 fat type is about to call app at address 0000000041B2C000 welcome to pcomm type help for help enter a command type foo.c int foo(void) { return '0'; } enter a command del foo.asm enter a command type foo.asm file not found enter a command :mcc.exe foo.c about to call app at address 0000000041B33000 Compiling foo.c to foo.asm return from app is hex 0 enter a command type foo.asm .code64 .intel_syntax prefix .global foo .text # Proc foo foo: ?>> ?]] --------------- mov %eax, 240 L1: --------------- ret # End enter a command hexdump foo.asm about to call app at address 0000000041B35000 000000 40404040 4B839684 85F6F415 40404040 .code64. 000010 4B8995A3 85936DA2 A895A381 A7409799 .intel_syntax pr 000020 858689A7 15154040 40404B87 93968281 efix.. .globa 000030 93408696 96151540 4040404B A385A7A3 l foo.. .text 000040 157B40D7 99968340 86969615 8696967A .# Proc foo.foo: 000050 15236F6E 6E15236F BDBD1523 60606060 ..?>>..?]]..---- 000060 60606060 60606060 60606015 40404040 -----------. 000070 9496A540 40404040 40406C85 81A76B05 mov %eax,. 000080 F2F4F015 D3F17A15 23606060 60606060 240.L1:..------- 000090 60606060 60606060 15404040 409985A3 --------. ret 0000A0 40404040 40404015 7B40C595 84401515 .# End .. 0000B0 151515 ... return from app is hex 0 enter a command exit return from app is hex 0 return from called program is hex 0 enter command, exit to exit exit bios exiting ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
