Skip to content

Commit

Permalink
fix gcc flag order in online documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Feb 9, 2020
1 parent 7b66876 commit 1cad8da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hooks_mcnp.md
Expand Up @@ -212,8 +212,8 @@ Next, go to a terminal and compile them with two commands (exchange "gcc" with t
"clang" on OSX):

```shell
gcc -std=c99 -lm ssw2mcpl_app_fat.c -o ssw2mcpl
gcc -std=c99 -lm mcpl2ssw_app_fat.c -o mcpl2ssw
gcc -std=c99 ssw2mcpl_app_fat.c -lm -o ssw2mcpl
gcc -std=c99 mcpl2ssw_app_fat.c -lm -o mcpl2ssw
```

And you are ready to run! For instance:
Expand Down
4 changes: 2 additions & 2 deletions hooks_phits.md
Expand Up @@ -263,8 +263,8 @@ Next, go to a terminal and compile them with two commands (exchange "gcc" with t
"clang" on OSX):

```shell
gcc -std=c99 -lm phits2mcpl_app_fat.c -o phits2mcpl
gcc -std=c99 -lm mcpl2phits_app_fat.c -o mcpl2phits
gcc -std=c99 phits2mcpl_app_fat.c -lm -o phits2mcpl
gcc -std=c99 mcpl2phits_app_fat.c -lm -o mcpl2phits
```

And you are ready to run! For instance:
Expand Down
2 changes: 1 addition & 1 deletion usage_cmdline.md
Expand Up @@ -283,7 +283,7 @@ Next, compile it with the command (exchange "gcc" with the name of your compiler
"clang" on OS X):

```shell
gcc -std=c99 -lm mcpltool_app_fat.c -o mcpltool
gcc -std=c99 mcpltool_app_fat.c -lm -o mcpltool
```

And you are ready to run! For instance you can inspect an MCPL file with:
Expand Down

0 comments on commit 1cad8da

Please sign in to comment.