Skip to content

Commit

Permalink
Edit docs/GCCDeveloping.md For Running main At 32 bit
Browse files Browse the repository at this point in the history
Signed-off-by: Tal Jacob <taljacob2@gmail.com>
  • Loading branch information
taljacob2 committed Feb 7, 2023
1 parent a52d56e commit dbd0f31
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions docs/GCCDeveloping.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Execute the following commands with *bash*.
```

##### IMPORTANT:

In case you own a 64 bit host machine, and you want to execute this command,
you **MUST** install an additional prerequisite, with:
```
Expand All @@ -51,13 +51,21 @@ Execute the following commands with *bash*.

### Build & Run `main`

#### Build Your Own Program With Linking `oop.a` To It (Mainly For Testing `oop.a`)
#### Build Your Own Program With Linking `oop` To It (Mainly For Testing `oop`)

Build your own program ([main.c](../src/main/main.c) for example) while linking the
`oop.a` library to it.
```
./build-main.sh
```
- For 64 bit (Specifically developing the `oop.a` static library)
Build your own program ([main.c](../src/main/main.c) for example) while linking the
`oop.a` library to it.
```
./build-main.sh
```

- For 32 bit (Specifically developing the `oop32.a` static library)
Build your own program ([main.c](../src/main/main.c) for example) while linking the
`oop32.a` library to it.
```
./build-main.sh 32
```

#### Run [main.c](../src/main/main.c)

Expand Down

0 comments on commit dbd0f31

Please sign in to comment.