Production Environment of the ARM platform Cross Compiler: production of the middleware ARM platform Cross Compiler
Host environment:
Ubuntu 12.04.1 64bit
Gcc version 4.6.3
ubuntu 12.04.1 64bit gcc version 4.6.3
1. download the latest source code package
Binutils-2.22.tar.gz
Gcc-4.7.2.tar.bz2
Gmp-5.0.5.tar.xz
Mpfr-3.1.1.tar.xz
Mpc-1.0.1.tar.gz
Glibc-2.16.0.tar.xz
Glibc-linuxthreads-2.5.tar.bz2
Glibc-ports-2.16.0.tar.xz
Linux
When compiling GCC, Main references from http://blog.csdn.net/mcy_cool/article/details/17047027 Modified for some reason, marked red place for the modified place Compilation Environment:Kernel Name: LinuxHardware schema name: i686Hardware platform: I386Operating system: Ubuntu 13.10Current system GCC version number: 4.8.1 Target Platform OK6410:ARM11 First, the preparatory work 1. Download the source package binutils-2.23.1.tar.bz2 gcc-4.8.2.tar.bz2glibc-2.18.tar.bz2glibc-linuxthreads-2.5.tar.b
There are three ultimate propositions in Philosophy: Who are you? From where? Where to go? For the dapm mechanism, we can ask: What is dapm and what is its function? How is dapm created? How is dapm triggered? The following is an analysis of these three problems.
First, what is dapm? This is mentioned in the overview of dapm, that is, the dynamic management of audio power supply. I believe that power management is not unfamiliar to everyone. The purpose of the dapm design is to enable the necess
transparent to all user space applicationsAll power switching is done within the ASOC core. No code changes orRecompiling are required for user space applications. dapm makes powerSwitching decisions based upon any audio stream (capture/playback)Activity and Audio Mixer settings within the device.
Dapm spans the whole machine. It covers power control within the entireAudio Subsystem, this includes des internal codec power blocks and MachineLevel Powe
used in Ubuntu to do this work using other programming programs.
Rhythmbox (0.20.): This version will appear on Ubuntu 10.10, but now you want to use it on Ubuntu 10.04. The biggest difference is that rhythmbox has a new example, which is no longer as simple as before, now you can see her white and beautiful speakers in this version. Another reason is that the DAAP external token must be updated to use libdmapsharing, which is not yet integrated. Therefore, DAAP may not be used currently.Suppor
installation process, you will be able to install it successfully.
From svn checkout svn: // gcc.gnu.org/svn/gcc/trunkto get the latest gcccode, computation and compilation of the things about learning c++ 11, the result is the following problem in configure:Building GCC requires GMP 4.2 +, MPFR 2.3.1 + and MCM 0.8.0 +1. From http://www.multiprecision.org/index.php? Prog = mpc page = download the following content:
In Linux, the iptables firewall releases the port to reject the port and view the opened port.
I use fedora 14.
1. view the port enabled by iptables firewall:/etc/init. d/iptables status
[Root @ hzswtb2-mpc ~] #/Etc/rc. d/init. d/iptables status or service iptables statusTable: filterChain INPUT (policy ACCEPT)Num target prot opt source destination1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt: 3306
Chain FORWARD (policy ACCEPT)Num target prot opt source
Video Player--open source free three major representative of video playback tools, because to face the huge compatibility and complex algorithms, from the architecture, can stand out from the system is numbered. Broadly speaking, there are 3 major architectures in the industry: MPC, MPlayer and VLC. These 3 large architectures and their derivatives occupy 90% of the market, and none of the free media-play software that users can see comes from these 3
There are many ways to simulate a windows style tab on the webpage. Here we will introduce a simple method-using htc components.The advantage of using htc is that it can be freely called and is a bit batch-processed. For example, if you want to use this tab on many webpages, you only need to create an htc, then they are called separately on different web pages without having to make them again. It is easy to use and saves a lot of time.The procedure is as follows:1. Download
Download the latest GCC4.6.2 from the GCC website
Http://gcc.gnu.org/
Domestic image address:Http://mirrors.ustc.edu.cn/gnu/gcc/
First, an error occurs during gcc Configuration:#./Configure -- prefix =/usr/local/gcc-4.6.2Configure: error: Building GCC requires GMP 4.2 +, MPFR 2.3.1 + and MCM 0.8.0 +.It indicates that the gcc installation requires three libraries: GMP, MPFR, and MCM.Official Website:Http://gmplib.org/Http://www.mpfr.org/Http://www.multiprecision.org/index.php? Prog = nmpc
Since M
: Error:building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+. Try the--WITH-GMP,--WITH-MPFR and/or--WITH-MPC options to specify their. //==========================================================================
Because of the lack of GCC dependent GMP, MPFR, MPC three software, so need to download and install them, they're on top of theInfrastructure fold
First , before installing GCC, you need to install dependencies:
1, GMP installation:
Download: gmp-6.0.0a.tar.bz2
decompression: Tar jxf gmp-6.0.0a.tar.bz2
cd gmp-6.0.0
./configure--prefix=/usr/local/ gmp-6.0.0 make make
install
2, MPFR installation:
Download: mpfr-3.1.5.tar.gz
decompression: Tar zxvfv mpfr-3.1.5.tar.gz
cd mpfr-3.1.5
./configure--prefix=/usr/local/ mpfr-3.1.5--with-gmp=/usr/local/gmp-6.0.0 make make
install
3. MPC Installation
described by the author)Todo?
4. Comparison with Windows APIs:The buffer to be added for the Windows Audio interface belongs to the buffer of the application. In Windows, you can add the Buffer Queue to set the buffer. ALSA does not provide the interface for you to set the buffer at the application layer, the role of the buffer zone is to weaken or eliminate the impact of occasional fast or slow data streams or user operations. Therefore, ALSA must have a buffer zone, is the hardware buffer sol
There are many ways to use the htc component to create a windows tab on the webpage. Here we will introduce a simple method-using the htc component.
The advantage of using htc is that it can be freely called and is a bit batch-processed. For example, if you want to use this tab on many webpages, you only need to create an htc, then they are called separately on different web pages without having to make them again. It is easy to use and saves a lot of time.
The procedure is as follows:
1. Dow
-4.0.1/(This step is very important, you need to execute the source directory under the target directory of the installation, Configure command in OPT/GCC-4.0.1/, configuring GCC to be installed to target directory/USR/LOCAL/GCC-4.0.1/)Creating cache./config.cacheChecking host system Type ... I686-pc-linux-gnu5. Compile the installation file:[Email protected] gcc-4.0.1]# pwd/usr/local/gcc-4.0.1[[email protected] gcc-4.0.1]# make (compile in target directory)6. Installing GCC:[Email protected] gc
Download the GCC source code to the GNU Open Source website and view the compilation tutorialGNU/GCC Website: http://www.gnu.org/software/gcc/
2. According to the official website tutorial, compiling GCC's required environment depends on M4,GMP,MFPR,MPC
GNU multiple Precision Library (GMP) version 4.3.2 (or later)
necessary to build GCC. If a GMP source distribution is found in asubdirectory of your GCC sources named gmp , it'll be builttog
->invert)val =!val;if (Val)W->power = 1;}W->new = 1;Dapm_mark_dirty (W, "New Widget");Dapm_debugfs_add_widget (w);}Dapm_power_widgets (DAPM, SND_SOC_DAPM_STREAM_NOP);Mutex_unlock (dapm->card->dapm_mutex);return 0;}Take the control of the mixer class as an example, except that the name of the control of the mixer class is long_name by the current widget name + kcontrol name. and the Mux class controlName or
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.