[gforth] / gforth / lib.fs  

gforth: gforth/lib.fs

Diff for /gforth/lib.fs between version 1.35 and 1.36

version 1.35, Thu Aug 14 09:53:13 2008 UTC version 1.36, Thu Oct 9 20:57:43 2008 UTC
Line 32 
Line 32 
   
 \ 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]
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help