Feisikar I. mx6 cross-compilation tool chain BUG, I. mx6 compilation tool
Recently, I made a project on the I. mx6 platform of Apsara stack. After coding and testing on I. mx6, I found that the return value of a function has been incorrect,
The Return Value Type of a function is "char". The returned value is '-2', And the return value is equal to the value of '0'.
It is found that the program cannot ente
Compilation of beginner Study Notes (13)-External interruptions, compilation of Study Notes
Getting started with crazy summer vacation Study Notes (13th)-out-of-band interruption
Reference: Chapter 15th of Assembly Language
1. External interruption Information
External interruptions can be divided into shielded interruptions and unshielded interruptions.
Blocked interruptions
First, let's take a look at
(1) _ optimize _: used to determine release and Debug. When _ optimize _ is selected, the code can be executed during release, but not during debug. Example:
12345
#ifndef__OPTIMIZE__// In debug modeelse// In the release mode#endif
(2) _ i386 _ and _ x86_64 _: used to judge the simulator environment and the real machine environment. The code that meets this condition is only executed in the simulator. The sample code is as follows:
1234567
#ifdefined(__i386__)||defi
compile and run through Javac and Java commands at this time, you need to do the following:Under C:\net\test, create a Helloworld.java file and put it in C:Package net.test; Note: This first line is a description of the package, where the net behind the point is actually the meaning of the directory.public class HelloWorld{public static void Main (String args[])Write the string "helloworld!" to the screen{System.out.println ("helloworld!");}}1. CompilingThe compiled instructions are JavacCompil
Add a mysql group and a mysql user
[Root @ test mysql] # groupadd mysql
[Root @ test mysql] # useradd-g mysql
Compilation and Installation
Tar-zxvf mysql-5.1.35.tar.gz
./Configure/
-- Prefix =/usr/local/mysql/
-- Localstatedir =/data/mysql data DIRECTORY
-- Enable-Cycler/
-- With-mysqld-ldflags =-rdynamic/
-- With-client-ldflags =-all-static/
-- With-plugins = innobase, partition/
-- With-extra-charsets = none/
-- Enable-thread-safe-client/
-- With
Collect some things. It may be useful in the future. 1. YACC and Lex Quick Start2. An introduction to Lex and YACC Part 13. An introduction to Lex and YACC Part 24. Lex and YACC primer/howto5. A compact guide to Lex YACC6. C compiler Lex and YACC input source files7. Preliminary Exploration of GCC compilation process and intermediate presentation layer RTL8. Lex/YACC (actually flex and bison)9. A simple hand-Coded script parser10. Spart, a parser ge
It must be written here, or you will forget it later.
Each compiler has the default-March option, and its value generally follows the mainstream chip.
For example, in the older arm cross compiler, the default option may be-March = armv4t, and the new option may be-March = armv6.
Most binary files compiled by the old compiler can run on new chips as long as they do not use special instruction sets, because arm is backward compatible.
However, the binary executable files compiled using the def
Live555: source code compilation and live555 source code compilationLive555: source code compilationLive555 is a cross-platform C ++ open-source project that provides solutions for streaming media. It supports standard streaming media transmission protocols such as RTP/RTCP, RTSP, and SIP. Live555 provides streaming, receiving, and processing support for audio and video data in multiple audio and video encoding formats, including MPEG, H.263 +, DV, JP
function getimg ($url, $filename) {
if ($url = = ")
return false;
Turn on output control buffering
Ob_start ();
Reads the URL picture file and writes to the output cache
ReadFile ($url);
Returns the contents of the output buffer
$img = Ob_get_contents ();
Empty the contents of the output buffer
Ob_end_clean ();
Gets the content length obtained from the cache
$size = strlen ($img);
I wanted to write it on my own. I was touched when I saw such details written by this renxiong on the Internet ...., find such a good person, CTRL + V to get it, recent projects have been using the devexpress control, it is necessary to study it in depth :)
First post address: http://www.cnblogs.com/shaoming01/archive/2010/09/09/shaoming01.html
With the strength of the boss, I finally tried to download all the things required for devexpress compilation
1.
# Pragma warning disable
// The warning must be blocked.
Source code
# Pragma warning restore
// This method is easy to use. The disadvantage is that it is troublesome (negligible );
2.
# Pragma warning (Disable: 4507 34)
This method cannot block warnings without a warning ID,
For example, sqlmap. queryforpaginatedlist (statementname, parameterobject, pagesize );
CodeThe warning is as follows:
Warning 4 "ibatisnet. datamapper. isqlmapper. queryforpaginatedlist (string, object, INT)
Some of the projects used in the Third-party library, packaging will also prompt the following questions: Ld:file is universal (3 slices) butdoes not contain a (n) armv7s Slice:/users/rainbird/deskto P/myapp/ifilemanager/ifilemanager/zbarsdk/libzbar.afor Architecture armv7s
Clang:error:linker command failed with exit code 1 (use-v to Seeinvocation)
The above hint is that I use the Libzbar this library does not support armv7s.As for the third party library, if it is closed source, such as some
Brief introduction
Picasso is an open source Android graphics cache library at square, which enables image downloading and caching.
Mainly has the following characteristics: In the adapter of the collection and cancellation has not been in the field of view of the picture resource loading, to prevent possible picture dislocation; Use complex image compression to minimize memory consumption, use minimal memo
Use zxing to generate a two-dimensional code picture with logo, automatically adjust the size of the logo picture relative to the two-dimensional code picture
* Optional whether with logo, choose whether to save two-dimensional code picture; result returns a base64 encoded picture
============ Problem Description ============RT, which is essentially designed to prevent web page images from loading, place images locally, and then replace them in the app to speed up the response.Previously mentioned this problem, failed to solve, Because more than 3.0 to provide the interface to replace the Web resources (webresourceresponse), 3.0 does not have a dedicated interface, I want to use get to save the page as a string and then replace, but found that not all pages can use get Fe
==================== Problem Description ====================RT, which is essentially designed to prevent web page images from loading, place images locally, and then replace them in the app to speed up the response.Previously mentioned this problem, failed to solve, Because more than 3.0 to provide the interface to replace the Web resources (webresourceresponse), 3.0 does not have a dedicated interface, I want to use get to save the page as a string and then replace, but found that not all page
Use iframe to upload pictures, detect picture size:
http://perfectlife.iteye.com/blog/396959
The following JS, compatibility issues, can not be achieved:
function Checkform (obj) {Str=obj.value.tolowercase ();var ext=str.split (".");var type=filetype.split (",");for (Var i=0;iAlert (ext[1]+ "," +type[i]);if (Ext[1]==type[i]) {Bool=true;alert (bool);}}if (bool) {var boolsize=checksize (str);alert (boolsize);if (Boolsize==false) {Alert ("You upload a
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.