| Title: | Windows NT | 
| Notice: | See note 15.0 for HCL location | 
| Moderator: | TARKIN::LIN .com::FOLEY | 
| Created: | Thu Oct 31 1991 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 6086 | 
| Total number of notes: | 31449 | 
I have read that DOS,WIN16 and POSIX applications/commands can be run directly
  on WINDOWS NT  .What I understand from this is that  any piece of code that
 is POSIX compliant can be run without any recompilation.I have tried it
 on WINDOWS NT WORKSTATION 3.51 on  ALPHA XL , and found that I was able to run
 dos  commands. I also tried running UNIX commands (which I believe are POSIX
 compliant) but was unable to do so.I also tried running the  example that is 
given in the  NT help but with the same result.
Could anyone tell me if my understanding about executing POSIX compliant code
on NT is correct?If not ,what is the correct method of doing so.
    
 regds 
    nick 
    
    
    
    
    
                                                                
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 5773.1 | check the RESOURCE KIT | CSC32::K_MEADOWS | Thu Mar 06 1997 05:40 | 2 | |
|     There were some problems with the POSIX utilities on the 3.51 RESKIT
    but somewhere at MS's website you should find corrected versions.
 | |||||
| 5773.2 | need to recompile | HYDRA::DONSBACH | Jeff Donsbach, Software Partner Engineering, DTN 297-6862 | Mon Mar 10 1997 12:10 | 14 | 
|     > What I understand from this is that  any piece of code that
    > is POSIX compliant can be run without any recompilation
    
    Where did you get the Unix command from? You can't just take an
    executable from Digital Unix, or any other Unix for that matter,
    and run it on Windows NT.
    
    The statement about compatibility with POSIX compliant applications
    refers to source level compliance. You will need to rebuild to program
    for Windows NT using various VC++ compiler/linker switches to get
    a Posix application to run.
    
    Jeff D.
    
 | |||||