Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.misc > #1917

Rust for OS/2

From Paul Edwards <mutazilah@gmail.com>
Newsgroups comp.os.os2.programmer.misc
Subject Rust for OS/2
Date 2024-03-26 16:50 +0800
Organization A noiseless patient Spider
Message-ID <utu296$1n8jf$1@dont-email.me> (permalink)

Show all headers | View raw


Note that I have a makefile.sos in /devel/pdos/rust
in pdosl.zip at http://pdos.org that will produce a
standalone public domain OS/2 executable built on
Linux for a Rust "hello world" with an external function.

[C:\]z:world
hello, world from rust
hello3, world from foo

[C:\]dir z:world.exe

The volume label in drive Z is w2kshare.
The Volume Serial Number is 2E16:A311.
Directory of Z:\

26/03/24  0:40         28,702      0 a---  world.exe
         1 file(s)      28,702 bytes used

It's more just proof of concept than anything else.
I don't know Rust and I'm not really interested, and
I don't know what the limitations of this technique are.

Also due to various technical reasons you will
need to do some commands along the lines of:

put /dos in your path

alias pdas=pdas.exe
etc

pdmake -n ... >temp.sh
. temp.sh


in order to use the makefile.

BFN. Paul.

Back to comp.os.os2.programmer.misc | Previous | Next | Find similar


Thread

Rust for OS/2 Paul Edwards <mutazilah@gmail.com> - 2024-03-26 16:50 +0800

csiph-web