Extern Programs?

Topics: Other
Jun 29, 2012 at 10:43 PM
Edited Jun 29, 2012 at 10:46 PM

Hey Guys,

How is it possible to use extern programs and executables?

For example: Is it possible to use the gcc compiler in my os?

Coordinator
Jun 29, 2012 at 10:53 PM
On 6/29/2012 5:44 PM, Manner wrote:
> How is it possible to use extern programs and executables?

Not currently because FS isnt complete, we dont have relocation or
loading logic.
Jun 29, 2012 at 11:39 PM

ok so the user cant install apache or mysql or other programs? 

Developer
Jun 29, 2012 at 11:40 PM

No.

Jun 29, 2012 at 11:46 PM

ok but if that don't work how far can i get with an os written in c# and cosmos?

Developer
Jun 29, 2012 at 11:48 PM

Depends how creative or hard you're willing to work. Auora01 and I (separately) are working on ELF, that's a step. You can also go monolithic and code everything inside the os in c#.

Coordinator
Jun 30, 2012 at 12:34 AM
On 6/29/2012 6:39 PM, Manner wrote:
> ok so the user cant install apache or mysql or other programs?

Apache and mysql arent written in .NET anyways. Cosmos will only allow
.NET programs - and thats on purpose....
Jun 30, 2012 at 11:21 AM

ok so what for an usefull os can i do without allowing the user to run his own programs?

Developer
Jun 30, 2012 at 1:30 PM

*Face palm.* YOU code the programs.

Coordinator
Jun 30, 2012 at 4:40 PM
On 6/30/2012 6:21 AM, Manner wrote:
> ok so what for an usefull os can i do without allowing the user to run
> his own programs?

Thats up to you. Think embedded, or adding your own programs.
Jun 30, 2012 at 4:43 PM

ok but they have to be a part of the kernel?

Coordinator
Jun 30, 2012 at 4:44 PM
On 6/30/2012 11:43 AM, Manner wrote:
> ok but they have to be a part of the kernel?

Until FS and dynamic loading are done.
Developer
Jun 30, 2012 at 4:47 PM

Chad, will we use PE or Elf for our loader?

On Jun 30, 2012 3:45 PM, "kudzu" <notifications@codeplex.com> wrote:

From: kudzu

On 6/30/2012 11:43 AM, Manner wrote:
> ok but they have to be a part of the kernel?

Until FS and dynamic loading are done.

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Coordinator
Jun 30, 2012 at 4:50 PM
On 6/30/2012 11:47 AM, joshbeitler wrote:
> Chad, will we use PE or Elf for our loader?

We havent committed to one. We may use multiple, and we may even have
our own as well.

We use ELF currently for initial boot and is probably the first one to
focus on.
Coordinator
Jun 30, 2012 at 5:44 PM
I think the hard work doesn't go with implementing PE, COFF (which PE is a variant of), ELF, or some other custom format. I think the real work comes with the runtime linking, the compiler being able to reuse stuff from the kernel for this ("syscalls"), etc..


On Sat, Jun 30, 2012 at 5:50 PM, kudzu <notifications@codeplex.com> wrote:

From: kudzu

On 6/30/2012 11:47 AM, joshbeitler wrote:
> Chad, will we use PE or Elf for our loader?

We havent committed to one. We may use multiple, and we may even have
our own as well.

We use ELF currently for initial boot and is probably the first one to
focus on.

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Developer
Jul 1, 2012 at 2:17 AM

A lot of work would be what would be run, like x86 or MSIL, x86 would need a few pointers and things while MSIL would probably need us to port a modified version of the compiler over to Cosmos itself.

Coordinator
Jul 1, 2012 at 9:26 AM
Correct, the owkr isn't in putting all info needed in a single file (be is MSIL or x86), but producing that info (compiler-side), and linking it together (dynamic loading in running cosmos, or porting cosmos to run on kernel)

On Sun, Jul 1, 2012 at 3:17 AM, CMan332 <notifications@codeplex.com> wrote:

From: CMan332

A lot of work would be what would be run, like x86 or MSIL, x86 would need a few pointers and things while MSIL would probably need us to port a modified version of the compiler over to Cosmos itself.

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com