Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile for linux #87

Closed
deepgandhi opened this issue Jun 9, 2021 · 6 comments
Closed

How to compile for linux #87

deepgandhi opened this issue Jun 9, 2021 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@deepgandhi
Copy link

I would like to compile for aarch64 architecture so that it can be run on android with use of termux. How to compile in Linux @SRvSaha ?

@SRvSaha
Copy link
Owner

SRvSaha commented Jun 9, 2021

@deepgandhi I doubt that Termux has support for .NET Core Runtime. I wanted to do that but found it's not officially supported yet.

If you want to build the project, you can use dotnet build command in the project where .csproj file is there for Core Project.
.NET Core 3.1 SDK must be present in your system where you are building.
To run, you can use dotnet run command. To package it, you can use follow these steps: https://docs.microsoft.com/en-us/dotnet/core/deploying/

Try to run the current linux 64 bit version in android and see if it works. There is another option of linux-arm. But I am not sure it it will work.

It's more of an experimental thing.

@SRvSaha SRvSaha added the help wanted Extra attention is needed label Jun 9, 2021
@deepgandhi
Copy link
Author

Actually, in my linux mint dotnet is not installed, still I was able to run it yesterday @SRvSaha. I think if it is compiled, there is no runtime requirements.

@SRvSaha
Copy link
Owner

SRvSaha commented Jun 9, 2021

Actually, in my linux mint dotnet is not installed, still I was able to run it yesterday @SRvSaha. I think if it is compiled, there is no runtime requirements.

I have bundled the runtime requirements so that user doesn't fall in the dependency hell. I have made sure than Windows, Linux or MacOS Version works seamlessly either by one command running or by double clicking just. There reason I was telling you the details of all the compilation as I don't know if the current linux version would work with Android OS or not.

@SRvSaha SRvSaha added the enhancement New feature or request label Jun 9, 2021
@SRvSaha
Copy link
Owner

SRvSaha commented Jun 9, 2021

@deepgandhi Try running the current linux build in Android using Termux. Mostly probably it won't work, but let's see. Else I can provide you will a standalone linux-arm package to test using Termux.

@deepgandhi
Copy link
Author

@SRvSaha yes, current version is not running. Actually I tied that first, but it didn't work so I asked you afterwards.

@SRvSaha
Copy link
Owner

SRvSaha commented Jun 9, 2021

@deepgandhi Since Termux doesn’t have native support for dotnet, it won’t work! So, closing thw issue

@SRvSaha SRvSaha closed this as completed Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants