https://github.com/m4elstr0m/onecompiler
A Linux script designed to make cross-platform compiling easier
https://github.com/m4elstr0m/onecompiler
compile compiler compilers cplusplus cpp cross-compile cross-compiler cross-platform csharp debian developer-tools go golang linux linux-app shell time-saver time-saving-tool
Last synced: 3 months ago
JSON representation
A Linux script designed to make cross-platform compiling easier
- Host: GitHub
- URL: https://github.com/m4elstr0m/onecompiler
- Owner: M4elstr0m
- Created: 2024-06-18T19:24:17.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T16:44:30.000Z (9 months ago)
- Last Synced: 2024-09-28T15:02:01.530Z (8 months ago)
- Topics: compile, compiler, compilers, cplusplus, cpp, cross-compile, cross-compiler, cross-platform, csharp, debian, developer-tools, go, golang, linux, linux-app, shell, time-saver, time-saving-tool
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **OneCompiler**
💠 A Linux script designed to make cross-platform compiling easier
Why ? Because I find it is better to have one universal command for all platforms and file extensions
Don't hesitate to reach me, or donate using the links on my profile, all donations are appreciated 😉## 🖥️ Platforms
This script is Linux-only## 🛠️ Installation
Manual installation:
```bash
git clone https://github.com/M4elstr0m/OneCompiler.git
cd OneCompiler
chmod +x onecompiler
```
Debian (.deb) installation:
```bash
cd packages
sudo dpkg -i onecompiler.deb
```
**Please notice that the package will be accessible anywhere on your system with this install, so you don't need to put the ```./``` anymore before ```onecompiler```**
## 📚 Usage
Basic usage:
```bash
./onecompiler [Options] file
```Create a Windows-compatible file from a .cpp (C++) file:
```bash
./onecompiler --windows mycode.cpp
```Create a Linux-compatible file from a .go (Go) file:
```bash
./onecompiler --linux mycode.go
```
## 🧩 Modules
Language Name
File Extension
Supported
Version
C++
.cpp
✅
v1.0
Go
.go
✅
v1.0
C#
.cs
✅
v1.1
WIP
.wip
🚧
v?
## 🗒️ Credits
Softwares/Codes used in this repository : g++, x86_64-w64-mingw32-g++, go