Skip to content

Commit

Permalink
Configuration: support building for OpenVMS for x86_64
Browse files Browse the repository at this point in the history
OpenVMS for x86_64 is currently out on a field test.  Building
programs for it is currently done with cross compilation on Itanium.
The cross compilation tools are made available by running a script,
which makes cross-compilation variants of most commands available, and
adds the cross-compilation C compiler XCC.

Reviewed-by: Paul Dale <[email protected]>
(Merged from openssl#16498)
  • Loading branch information
levitte authored and paulidale committed Sep 6, 2021
1 parent d4458e5 commit 6929c8f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Configurations/50-vms-x86_64.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## -*- mode: perl; -*-

# OpenVMS for x86_64 is currently out on a field test. A native C compiler
# is currently not available, but there are cross-compilation tools for
# OpenVMS for Itanium. This configuration file holds the necessary target(s)
# to make that useful.
#
# The assumption is that *building* is done on Itanium, and then the source
# tree and build tree are transferred to x86_64, where tests can be performed,
# and installation can be done.

(
'vms-x86_64' => {
inherit_from => [ 'vms-generic' ],
CC => 'XCC',
bn_ops => 'SIXTY_FOUR_BIT',
pointer_size => '',
setup_commands => [ '@SYS$MANAGER:X86_XTOOLS$SYLOGIN.COM' ],
}
);
2 changes: 2 additions & 0 deletions Configurations/descrip.mms.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ CPPFLAGS_Q={- (my $c = $lib_cppflags.$cppflags) =~ s|"|""|g;
# .FIRST and .LAST are special targets with MMS and MMK.
NODEBUG=@
.FIRST :
{- join( "\n \$(NODEBUG) ", @{ $target{setup_commands} // [] },
'!' ) -}
$(NODEBUG) sourcetop = F$PARSE("$(SRCDIR)","[]A.;",,,"SYNTAX_ONLY,NO_CONCEAL") - ".][000000" - "[000000." - "][" - "]A.;" + ".]"
$(NODEBUG) DEFINE ossl_sourceroot 'sourcetop'
$(NODEBUG) !
Expand Down

0 comments on commit 6929c8f

Please sign in to comment.