An open API service indexing awesome lists of open source software.

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

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