MichalStrehovsky / zerosharp

Demo of the potential of C# for systems programming with the .NET native ahead-of-time compilation technology.
2.02k stars 105 forks source link

Examples for running on ubuntu 20.04? #12

Closed Shadowblitz16 closed 3 years ago

Shadowblitz16 commented 3 years ago

Is there a example for ubuntu 20.04?

MichalStrehovsky commented 3 years ago

https://github.com/MichalStrehovsky/zerosharp/commit/26b8800c63f2ddbbfc1927861299008a59f916d9 now has the no-runtime sample that works on Linux.

Shadowblitz16 commented 2 years ago

@MichalStrehovsky I mean for baremetal

Shadowblitz16 commented 1 year ago

26b8800 now has the no-runtime sample that works on Linux.

your csproj literally blocks if it's not WindowsNT

Shadowblitz16 commented 1 year ago

@MichalStrehovsky please reopen this... Your csproj file also looks like it uses windows only commands.

create vdisk file=$(VHDFilePath) maximum=500
select vdisk file=$(VHDFilePath)
attach vdisk
convert gpt
create partition efi size=100
format quick fs=fat32 label="System"
assign letter=X
      </AttachVHDLines>
      <DetachVHDLines>
select vdisk file=$(VHDFilePath)
select partition 2
remove letter=X
detach vdisk

Please give a qemu example it is available for windows, mac and linux.

MichalStrehovsky commented 1 year ago

I recommend looking here instead: https://github.com/bflattened/bflat/tree/master/samples/Snake