| |
|
| \ testing stuff |
\ testing stuff |
| |
|
| \ [IFUNDEF] libc |
[IFUNDEF] libc |
| \ s" os-type" environment? [IF] |
s" os-type" environment? [IF] |
| \ 2dup s" linux-gnu" str= [IF] 2drop |
2dup s" linux-gnu" str= [IF] 2drop |
| \ cell 8 = [IF] |
library libc libc.so.6 |
| \ library libc /lib64/libc.so.6 |
[ELSE] 2dup s" cygwin" str= [IF] 2drop |
| \ [ELSE] |
library libc cygwin1.dll |
| \ library libc /lib/libc.so.6 |
[ELSE] 2dup s" bsd" search nip nip [IF] 2drop |
| \ [THEN] |
library libc libc.so |
| \ [ELSE] 2dup s" cygwin" str= [IF] 2drop |
[ELSE] 2dup s" darwin" string-prefix? [IF] 2drop |
| \ library libc cygwin1.dll |
library libc libc.dylib |
| \ [ELSE] 2dup s" bsd" search nip nip [IF] 2drop |
[ELSE] 2drop \ or add your stuff here |
| \ library libc libc.so |
[THEN] |
| \ [ELSE] 2dup s" darwin" string-prefix? [IF] 2drop |
[THEN] |
| \ library libc libc.dylib |
[THEN] |
| \ [ELSE] 2drop \ or add your stuff here |
[THEN] |
| \ [THEN] |
[THEN] |
| \ [THEN] |
[THEN] |
| \ [THEN] |
|
| \ [THEN] |
|
| \ [THEN] |
|
| \ [THEN] |
|
| |
|
| 0 [if] |
0 [if] |
| |
|