Oberon Community Platform Forum
December 07, 2019, 07:01:12 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Oberon Community Platform Forum
>
Development
>
UnixAOS
(Moderator:
gfeldm
) >
linux executable ?
Pages: [
1
]
« previous
next »
Print
Author
Topic: linux executable ? (Read 4666 times)
Bernhard T.
Administrator
Full Member
Posts: 164
linux executable ?
«
on:
November 26, 2013, 10:08:29 AM »
this is a cross posting from the oberon Mailing list:
Zdenek asked:
> is it possible in aos to create standalone executable for linux without
> need of running "aos -x ... " ?
>
> I mean like compiling module test.Mod in aos and then running executable
> test in any linux shell without aos installed.
my answer is:
no, as far as I know there is no linker, which is able to create Linux (ELF)
executables, but I might be wrong ...
There is an ELF-linker for Blackbox/Component Pascal (Oberon-2 derivative),
which is able to create shared object libraries but not yet executables. It might
be used as a starting point when combined with WinAOS PELinker ...
regards
--
Bernhard
«
Last Edit: November 26, 2013, 08:34:11 PM by Bernhard T.
»
Logged
fld
Newbie
Posts: 15
Re: linux executable ?
«
Reply #1 on:
December 10, 2013, 01:19:09 PM »
Yes it is possible to create applications which can be started
without LinusAos installed. LinuxAosCore is such a beast. You
can extend it in the following way:
Compiler.Compile Test.Mod ~
BootLinker.Link SolarisAosCore :=
Trace Glue Unix Machine Heaps Modules Objects Kernel KernelLog
Streams Commands TrapWriters Reflection StdIO Traps
Files UnixFiles Loader BootConsole ~
Logged
fld
Newbie
Posts: 15
Re: linux executable ?
«
Reply #2 on:
December 10, 2013, 01:27:48 PM »
Sorry. I sent the my first reply before it was finished.
Yes it is possible to create applications which can be started
without LinusAos installed. LinuxAosCore is such a beast. You
can extend it in the following way:
Compiler.Compile Test.Mod ~
BootLinker.Link ApplName :=
Trace Glue Unix Machine Heaps Modules Objects Kernel KernelLog
Streams Commands TrapWriters Reflection StdIO Traps
Files UnixFiles Loader BootConsole ... (modules imported by Test) Test ~
In the Linux shell the application can be started as follows:
aos.linux ApplName -x Test.Do
-- Guenter
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> OCP
-----------------------------
Development
-----------------------------
=> General
=> Oberon & Active Oberon
=> AOS
=> WinAOS
=> UnixAOS
=> ETH Oberon
=> ETH Zonnon
=> Merge Requests
=> Bug Report
-----------------------------
Projects
-----------------------------
=> ObeDAV
=> Matrix
-----------------------------
Support
-----------------------------
=> Installation
Loading...