Windows 10: how to access gcc on windows in wsl

Discus and support how to access gcc on windows in wsl in Windows 10 Gaming to solve the problem; I installed gcc, gdb, g++ through msys2 on windows and recently I installed wsl with openSUSE. please tell me how to access msys gcc on opensuse or do... Discussion in 'Windows 10 Gaming' started by abhi abhi1, Jan 5, 2024.

  1. how to access gcc on windows in wsl


    I installed gcc, gdb, g++ through msys2 on windows and recently I installed wsl with openSUSE. please tell me how to access msys gcc on opensuse or do i have install a separate gcc on openSUSE wsl. Is it ok to do so or will cause any problem or will cause the system to crash or any other problem.

    :)
     
    abhi abhi1, Jan 5, 2024
    #1
  2. A. Non Win User

    Since 2022H2: File Explorer slow when Quick Access contains WSL folders.

    After upgrading Windows 11 to 2022H2, the file explorer is slow showing it initial list of Quick Access folders in right panel.



    It seems WSL locations in Quick access is causing the latency.



    Before upgrade:

    - Initial list of folders in right pane was fast. Quick access contains folders of WSL.

    - Accessing WSL folder from Quick Access was slow (very slow).

    - When WSL terminal is open, accessing WSL folder in File explorer was fast.



    After 2022H2 upgrade:

    - Initial list of folders in right pane is slow. Quick access contains folders of WSL.

    - Accessing WSL folder from Quick Access is fast.

    - When removing folders that point to WSL folders from Quick access, initial startup is swift.

    - When adding folders pointing to WSL, file explorer is slow.

    - When WSL terminal is open, initial startup of File Explorer is fast.



    It seems like in previous version of Windows 11, WSL was lazily started when WSL folders were accessed, while after upgrading to 2022H2, WSL is initialized at startup of Explorer when WSL files are in Quick Access.



    I think I prefer WSL to be started lazily since I do not always access WSL based folders.
     
    A. Non, Jan 5, 2024
    #2
  3. Brink Win User
    Windows Subsystem for Linux (WSL) 1.1.6 released

    Source: Release 1.1.6 . microsoft/WSL . GitHub Microsoft Store: https://apps.microsoft.com/store/det...x/9P9TQF7MRM4R See also:
     
    Brink, Jan 5, 2024
    #3
  4. how to access gcc on windows in wsl

    WSL is blocked by SAC ?

    Hello,

    I'm reaching out to the community for assistance with a persistent WSL issue. Upon attempting to launch WSL, I'm encountering the following error:

    WslLaunchInteractive failed with error: 0x800711e6 - System Integrity policy has been violated. Explicit denied file.

    Steps Taken:

    1. I have reset the Ubuntu Linux distribution.
    2. I have uninstalled and reinstalled WSL.
    Despite these efforts, the issue persists. I am running Windows 11 build no: 22631.2715 with WSL 2.0.9.0, and the error occurs every time I try to start WSL.

    Has anyone faced a similar issue? Specifically, I'm seeking guidance on navigating the System Integrity policy that's seemingly causing the block. Any insights into how Smart App Control impacts WSL's functionality and possible configurations to mitigate this would be greatly appreciated.

    Thank you in advance for your time and help.
     
    shreesh gupta, Jan 5, 2024
    #4
Thema:

how to access gcc on windows in wsl

Loading...
  1. how to access gcc on windows in wsl - Similar Threads - access gcc wsl

  2. WSL - Access Denied

    in Windows 10 Gaming
    WSL - Access Denied: Hi, I am experiencing this issue when trying to install and run docker desktop on my laptop:I have tried running wsl --update from powershell run as admin and am getting the error Access is denied.To fix that, I read somewhere that changing permissions for the WindowsApps...
  3. WSL - Access Denied

    in Windows 10 Software and Apps
    WSL - Access Denied: Hi, I am experiencing this issue when trying to install and run docker desktop on my laptop:I have tried running wsl --update from powershell run as admin and am getting the error Access is denied.To fix that, I read somewhere that changing permissions for the WindowsApps...
  4. WSL - Access Denied

    in Windows 10 Installation and Upgrade
    WSL - Access Denied: Hi, I am experiencing this issue when trying to install and run docker desktop on my laptop:I have tried running wsl --update from powershell run as admin and am getting the error Access is denied.To fix that, I read somewhere that changing permissions for the WindowsApps...
  5. how to access gcc on windows in wsl

    in Windows 10 Software and Apps
    how to access gcc on windows in wsl: I installed gcc, gdb, g++ through msys2 on windows and recently I installed wsl with openSUSE. please tell me how to access msys gcc on opensuse or do i have install a separate gcc on openSUSE wsl. Is it ok to do so or will cause any problem or will cause the system to crash...
  6. wsl --install: Access is denied

    in Windows 10 Network and Sharing
    wsl --install: Access is denied: I got this errorwsl --install Installing: Windows Subsystem for Linux Access is denied. 0,0%Tried run as administrator - the sameWin10 https://answers.microsoft.com/en-us/windows/forum/all/wsl-install-access-is-denied/eac2553a-3216-4615-996d-e1f993a6576a
  7. gcc : The term 'gcc' is not recognized as the name of a cmdlet, function, script file, or...

    in Windows 10 Gaming
    gcc : The term 'gcc' is not recognized as the name of a cmdlet, function, script file, or...: I have installed MINGW on my system and have added the path manually. I tried to check gg version by the command --- 'gcc --version' on my PowerShell. It works flawlessly. But in VS Code, it is showing the gcc error. How is that possible. The path is correct since it is...
  8. gcc : The term 'gcc' is not recognized as the name of a cmdlet, function, script file, or...

    in Windows 10 Software and Apps
    gcc : The term 'gcc' is not recognized as the name of a cmdlet, function, script file, or...: I have installed MINGW on my system and have added the path manually. I tried to check gg version by the command --- 'gcc --version' on my PowerShell. It works flawlessly. But in VS Code, it is showing the gcc error. How is that possible. The path is correct since it is...
  9. WSL Controlled Folder Access

    in Windows 10 Gaming
    WSL Controlled Folder Access: I was playing around with the new Windows Security features and came across the Controlled folder access setting under Ransomware protection. Can this also be enabled for directories in WSL?If so, how would I go about configuring this?...
  10. WSL Controlled Folder Access

    in Windows 10 Software and Apps
    WSL Controlled Folder Access: I was playing around with the new Windows Security features and came across the Controlled folder access setting under Ransomware protection. Can this also be enabled for directories in WSL?If so, how would I go about configuring this?...