[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::windows-nt

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

5773.0. "POSIX ON WIN-NT" by HGOVC::XFMV01::NIKHIL () Wed Mar 05 1997 06:35

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.RTitleUserPersonal
Name
DateLines
5773.1check the RESOURCE KITCSC32::K_MEADOWSThu Mar 06 1997 05:402
    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.2need to recompileHYDRA::DONSBACHJeff Donsbach, Software Partner Engineering, DTN 297-6862Mon Mar 10 1997 12:1014
    > 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.