Groups | Search | Server Info | Login | Register


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

Rust for OS/2

Path csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Paul Edwards <mutazilah@gmail.com>
Newsgroups comp.os.os2.programmer.misc
Subject Rust for OS/2
Date Tue, 26 Mar 2024 16:50:44 +0800
Organization A noiseless patient Spider
Lines 37
Message-ID <utu296$1n8jf$1@dont-email.me> (permalink)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 26 Mar 2024 09:50:46 +0100 (CET)
Injection-Info dont-email.me; posting-host="c7f4ac7ec7f765baa9b77d6c88df1b94"; logging-data="1811055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OZDh8/M86XhnYpFa7yXWzUuLlvEBOiDc="
User-Agent Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
Cancel-Lock sha1:c+rGwJ2Qo/qydE9L55lNvsAYFWY=
X-Mozilla-News-Host news://news.eternal-september.org:119
Xref csiph.com comp.os.os2.programmer.misc:1917

Show key headers only | 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