Minigui1.3 debian Compilation

Source: Internet
Author: User
Minigui1.3 debian Compilation -- Debian information of the Linux release-the following is a detailed description. The condition is that the gcc-3.4 version is as follows:

Gcc-3.4-v
Reading specs from/usr/lib/gcc/i486-linux-gnu/3.4.6/specs
Configured :.. /src/configure-v -- enable-ages = c, c ++, f77, pascal -- prefix =/usr -- libexecdir =/usr/lib -- with-gxx-include-dir =/usr/include/c ++/3.4 -- enable-shared -- with-system -zlib -- enable-nls -- without-receivded-gettext -- program-suffix =-3.4 -- enable-_ cxa_atexit -- enable-clocale = gnu -- enable-libstdcxx-debug --- i486-linux-gnu tune = i686
Thread model: posix
Gcc version 3.4.6 (Debian 3.4.6-5)

The following method can be obtained, change the source of apt to stable, and then apt-get gcc-3.4.

If the gcc-3.4 compilation under sid is incorrect.

Change the config. in file under libminigui configs and change gcc corresponding to i386 to gcc-3.4

Second, compilation will fail.

The reason is that the u_short and ushort errors are defined. replace all the directories and write a sed script.

Or there are some python troubles. Send the sed script tomorrow.

The script is as follows:
For file in 'ls *. c *. H'
Do
Sed-e's/u_short/unsigned \ short/G' $ file> tmp. file
Mv tmp. file $ file
Done

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.