Questions about shares in Ubuntu / Linux on Windows


  1. Posts : 1,680
    X
       #1

    Questions about shares in Ubuntu / Linux on Windows


    I recently brought up Linux on Windows. I chose the Ubuntu distribution.

    It works well. Really well. Really fast.

    But there are a few shortcomings. I hope this is the right forum for these questions ...

    1. It cannot see remote shares. I mount a laptop share as Z: so I should be able to see it in Linux bash as /mnt/z
    But no. I can only see the local drives C: and D: as /mnt/c and /mnt/d
    Is there a fix?

    2. I'd like to write and build C-language programs in Linux, much the same as I did with Cygwin for many years.
    But I don't see the Windows header files and libraries needed for making calls to Windows core functions.
    Is there a way?
      My Computer

  2.   My Computer


  3. Posts : 1,680
    X
    Thread Starter
       #3

    Bingo! That fixed the /mnt drive problem. Thanks.

    I think the second issue will be a bit more difficult ...
    I'd like to write and build C-language programs in Linux, much the same as I did with Cygwin for many years.
    But I don't see the Windows header files and libraries needed for making calls to Windows core functions.
    Is there a way?
      My Computer

  4.   My Computer


  5. Posts : 1,680
    X
    Thread Starter
       #5

    Thanks. I wonder ... is it possible to do such development without using Visual Studio?
    I'm looking for something simple.

    In Cygwin I just do "make program-name" and done. Using Linux on Windows that works, too.

    But when I try to make use of Windows-only functions (ones that are not part of the C/C++ core libraries) the compiler can't find the functions.
    I can alias them with "extern". But that's inadequate because the link loader cannot find the libraries where those functions reside.
    Stuck.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:53.
Find Us




Windows 10 Forums