[Info-vax] Native compilers

John Reagan xyzzy1959 at gmail.com
Sat Feb 19 21:38:07 EST 2022


On Saturday, February 19, 2022 at 2:44:50 PM UTC-5, Dave Froble wrote:
> On 2/19/2022 1:22 PM, John Reagan wrote: 
> > With all the various threads talking about compilers and such, here's a "demo" (compilers are hard to demo) of a the native Macro compiler. 
> > 
> > $ type hw.mar 
> > .TITLE hello 
> > .PSECT RDATA,NOWRT,SHR,NOPIC,NOEXE,RD,QUAD 
> > HI: .ASCID /Hello, World!/ 
> > .PSECT CODE,NOWRT,SHR,PIC,EXE,RD,QUAD 
> > START:: .CALL_ENTRY PRESERVE=<>,MAX_ARGS=0,HOME_ARGS=TRUE 
> > PUSHAQ HI 
> > CALLS #1,G^LIB$PUT_OUTPUT 
> > BLBC R0,10$ 
> > MOVL #SS$_NORMAL,R0 
> > 10$: RET 
> > .END START 
> > $ 
> > $ show system /noproc 
> > OpenVMS XG5P-H4S on node X86VMS 19-FEB-2022 13:09:56.72 Uptime 2 03:28:17 
> > $ write sys$output f$getsyi("arch_name") 
> > x86_64 
> > $ macro hw 
> > $ link hw 
> > $ run hw 
> > Hello, World! 
> > 
> >
> Great demo. 
> 
> Now do it in Basic ... 
> 
> :-) 
> 
> Yeah, I know, you got some issues there. 
> 
> And I'm wondering, is the LIB$PUT_OUTPUT native, or cross compiled? 
> 
> -- 
> David Froble Tel: 724-529-0450 
> Dave Froble Enterprises, Inc. E-Mail: da... at tsoft-inc.com 
> DFE Ultralights, Inc. 
> 170 Grimplin Road 
> Vanderbilt, PA 15486
The OS is still cross-built.  

The native compilers are too new.  We need more than just compilers to build the OS natively.  I do have an early native SDL (written in C++) that can produce headers.  I can show a BLISS compile in a day or so.  Native C hopefully just a few weeks behind.



More information about the Info-vax mailing list