Ubuntu 16.04 Install MinGW32 (add source in/etc/apt/sources.list)

Source: Internet
Author: User
Ubuntu 16.04 under the direct use of command installation Mingw32:sudo Apt-get Install MINGW32 However, will be error: Unable to locate the package MINGW32 solution as follows: sudo gedit/etc/a pt/sources.list//added at the end of Sources.list, save Deb Http://us.archive.ubuntu.com/ubuntu trusty main Universesudo Apt-get Updatesudo apt-get Install MINGW32 test is installed, of course, is to write a test.cpp ah. #include <stdio.h>int main () {printf ("Hello world!"); return 0;} Under this folder, open the terminal and enter the command. Ubuntu under the executable suffix of. O ends, execute the command for./filenameg++ Test.cpp-o Test./test and then you'll see Hello World, it's over. Permanent update of this article address: http://www.linuxdiyf.com/linux/25274.html

Ubuntu 16.04 Install MinGW32 (add source in/etc/apt/sources.list)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.