mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Change exe name to follow the module of the main. Detect missing / multiple main functions.
This commit is contained in:
@@ -234,7 +234,9 @@ Then run
|
||||
c3c compile main.c3
|
||||
```
|
||||
|
||||
The generated binary will be called `a.out`.
|
||||
The generated binary will by default be named after the module that contains the main
|
||||
function. In our case that is `hello_world`, so the resulting binary will be
|
||||
called `hello_world` or `hello_world.exe`depending on platform.
|
||||
|
||||
### Compiling
|
||||
|
||||
|
||||
Reference in New Issue
Block a user