Thread: GCC Missing MinGW-w64?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2021
    Posts
    4

    GCC Missing MinGW-w64?

    Hi, I'm using Ubuntu 20.04 on Windows WSL2.

    During a compilation of a program using gcc under Ubuntu (wsl2), I received the error "unrecognized command line option -municode".

    I googled, and it seems like I need mingw-w64 in order for gcc to recognize the option "-municode".

    My gcc is version 9.3. In addition, the command "gcc -dumpmachine" responds with "x86_64-linux-gnu".

    If this means gcc 9.3 doesn't already come with mingw-w64, how would I go about adding mingw-w64 to gcc?

    Alternatively, if someone could clarify the relationship between gcc and mingw-w64, that might help me think of the right queries for google.

    (Lastly, I tried "sudo apt install g++-ming-w64-i686", but I get the error "Unable to locate package")
    Last edited by programming; 10-27-2021 at 11:43 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. trying to get MinGW
    By c_weed in forum Tech Board
    Replies: 19
    Last Post: 09-28-2010, 01:26 AM
  2. SDL and mingw. Please help.
    By Erin100280 in forum C++ Programming
    Replies: 2
    Last Post: 08-15-2010, 09:26 PM
  3. mingw
    By manzoor in forum C++ Programming
    Replies: 12
    Last Post: 02-08-2008, 10:21 AM
  4. GCJ & GCC, MingW
    By @nthony in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 09-12-2007, 03:23 AM
  5. mingw help
    By DarkDot in forum Tech Board
    Replies: 17
    Last Post: 04-16-2007, 11:25 PM

Tags for this Thread