{"id":27115380,"url":"https://github.com/tyeth/dotnetcore-arm-swig","last_synced_at":"2026-07-25T06:31:35.280Z","repository":{"id":71415248,"uuid":"127324308","full_name":"tyeth/dotnetcore-arm-swig","owner":"tyeth","description":"Test SWIG 4.0 generated C# code with .NET Core 2.1 on amd64 Linux (x64) and arm64v8 Linux (arm64)","archived":false,"fork":false,"pushed_at":"2018-03-27T22:23:44.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T09:14:18.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyeth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-03-29T17:22:02.000Z","updated_at":"2021-04-08T21:53:04.000Z","dependencies_parsed_at":"2023-04-22T06:32:29.431Z","dependency_job_id":null,"html_url":"https://github.com/tyeth/dotnetcore-arm-swig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tyeth/dotnetcore-arm-swig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyeth%2Fdotnetcore-arm-swig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyeth%2Fdotnetcore-arm-swig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyeth%2Fdotnetcore-arm-swig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyeth%2Fdotnetcore-arm-swig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyeth","download_url":"https://codeload.github.com/tyeth/dotnetcore-arm-swig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyeth%2Fdotnetcore-arm-swig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35869991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-25T02:00:06.922Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-07T04:54:57.723Z","updated_at":"2026-07-25T06:31:35.273Z","avatar_url":"https://github.com/tyeth.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test SWIG 4.0 generated C# code with .NET Core 2.1 on amd64 Linux (x64) and arm64v8 Linux (arm64) *NEW!!!* #\r\n\r\n**The purpose of this sample is to demonstrate the need for .NET Core 2.1 framework on arm64v8 platform.**\r\n\r\n## Prerequisites: ##\r\n**Install on Debian-VM amd64**\r\n\r\n- [Runtime-Deps](https://dotnetcli.blob.core.windows.net/dotnet/Runtime/master/dotnet-runtime-deps-latest-debian.9-x64.deb)\r\n- [Host](https://dotnetcli.blob.core.windows.net/dotnet/Runtime/master/dotnet-host-latest-x64.deb)\r\n- [Host FX Resolver](https://dotnetcli.blob.core.windows.net/dotnet/Runtime/master/dotnet-hostfxr-latest-x64.deb)\r\n- [Shared Framework](https://dotnetcli.blob.core.windows.net/dotnet/Runtime/master/dotnet-runtime-latest-x64.deb)\r\n- [SDK](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-linux-x64.tar.gz) (`sudo tar -xzf dotnet-sdk-latest-linux-x64.tar.gz -C /usr/share/dotnet`)\r\n\r\n**Install runtime on DragonBoard 410c arm64v8 SBC**\r\n\r\n- [Runtime](https://dotnetcli.blob.core.windows.net/dotnet/Runtime/master/dotnet-runtime-latest-linux-arm64.tar.gz) (`sudo tar -xzf dotnet-runtime-latest-linux-arm64.tar.gz -C /usr/share/dotnet`)\r\n- `sudo ln -sf /usr/share/dotnet/dotnet /usr/bin/dotnet`\r\n\r\n\r\n## Debian-VM amd64 ##\r\n- **Framework**: .NET Core 2.1 Linux (x64)\r\n- **Runtime**: Microsoft.NETCore.App 2.1.0-preview3-26327-03 (dotnet --list-runtimes)\r\n- **SDK**: 2.1.300-preview3-008414 (dotnet --list-sdks)\r\n- **Platform**: amd64 Linux (x64)\r\n- **OS**:  Debian 9.4 (stretch)\r\n- **Host**: Debian-VM (Hyper-V on Windoes 10 Pro x64) \r\n\r\n**Build instructions:**\r\n\r\n1. `cd ~/`\r\n1. `git clone`\r\n1. `cd dotnetcore-arm-swig`\r\n1. `# Optional if you have swig 4.0 installed`\r\n1. `#make swig` \r\n1. `make clean`\r\n1. `make`\r\n1. `dotnet publish console.csproj -c Debug -o app`\r\n1. `dotnet app/console.dll`\r\n\r\n**Output** (your pid and date is different)\r\n\r\n\tHello World!\r\n\t[DllImport(\"libc.so.6\") -\u003e getpid(): 6895\r\n\tSWIG 4.0 Generated code: 3, 120, Tue Mar 27 17:40:06 2018\r\n\tSuccess!\r\n\r\n## DragonBoard 410c arm64v8 SBC ##\r\n- **Framework**: .NET Core 2.1 Linux (arm64)\r\n- **Runtime**: Microsoft.NETCore.App 2.1.0-preview3-26327-03 (dotnet --list-runtimes)\r\n- **SDK**: N/A (dotnet --list-sdks)\r\n- **Platform**: arm64v8 Linux (arm64)\r\n- **OS**: Debian 9.4 (stretch)\r\n- **Host**: DragonBoard 410c arm64v8 SBC \r\n\r\n**Build instructions:**\r\n\r\n**Cross compile on Debian-VM**\r\n\r\n1. `cd ~/dotnetcore-arm-swig`\r\n1. `make clean`\r\n1. `# Copy ~/dotnetcore-arm-swig/ from Debian-VM to DB410c ~/ (I used WinSCP)`\r\n\r\nOn the  DragonBoard 410c arm64v8 SBC\r\n\r\n1. `cd ~/dotnetcore-arm-swig`\r\n1. `# Optional if you have swig 4.0 installed`\r\n1. `#make swig` \r\n1. `make clean`\r\n1. `make`\r\n1. `chmod -R 777 app`\r\n1. `dotnet app/console.dll`\r\n\r\n**Output** (your pid and date is different)\r\n\r\n\tHello World!\r\n\t[DllImport(\"libc.so.6\") -\u003e getpid(): 811\r\n\tSWIG 4.0 Generated code: 3, 120, Tue Mar 27 17:40:24 2018\r\n\tSuccess!\r\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyeth%2Fdotnetcore-arm-swig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyeth%2Fdotnetcore-arm-swig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyeth%2Fdotnetcore-arm-swig/lists"}