锘??xml version="1.0" encoding="utf-8" standalone="yes"?>C++鍗氬-http://www.2676208.com/hkingSP/zh-cnMon, 05 Aug 2019 14:12:11 GMTMon, 05 Aug 2019 14:12:11 GMT60cl commandhttp://www.2676208.com/hkingSP/archive/2019/03/09/216292.html瀹嬮箯瀹嬮箯Sat, 09 Mar 2019 03:23:00 GMThttp://www.2676208.com/hkingSP/archive/2019/03/09/216292.htmlhttp://www.2676208.com/hkingSP/comments/216292.htmlhttp://www.2676208.com/hkingSP/archive/2019/03/09/216292.html#Feedback0http://www.2676208.com/hkingSP/comments/commentRss/216292.htmlhttp://www.2676208.com/hkingSP/services/trackbacks/216292.html鎼炴噦缂栬瘧杩囩▼ 缂栬瘧鍣ㄩ兘鍦ㄥ共鍢?br />
cl -I 鍖呭惈闇瑕佺殑鐩綍锛屽叾鍛戒护?#27537;?#31912;灏惧線?#32218;鏄竴涓?c鎴?cpp鏂囦欢銆?br />cl鍛戒护鍑洪敊锛屼竴鑸?#37828;?#37827;犳硶鎵惧埌闇瑕佺殑澶?#37826;囦欢銆?/div>
闄勫綍锛歝l -help
                         C/C++ COMPILER OPTIONS
                              -OPTIMIZATION-
/O1 minimize space                      /O2 maximize speed
/Ob<n> inline expansion (default n=0)   /Od disable optimizations (default)
/Og enable global optimization          /Oi[-] enable intrinsic functions
/Os favor code space                    /Ot favor code speed
/Ox maximum optimizations               /Oy[-] enable frame pointer omission 
/favor:<blend|ATOM> select processor to optimize for, one of:
    blend - a combination of optimizations for several different x86 processors
    ATOM - Intel(R) Atom(TM) processors 
                             -CODE GENERATION-
/Gw[-] separate global variables for linker
/GF enable read-only string pooling     /Gm[-] enable minimal rebuild
/Gy[-] separate functions for linker    /GS[-] enable security checks
/GR[-] enable C++ RTTI                  /GX[-] enable C++ EH (same as /EHsc)
/guard:cf[-] enable CFG (control flow guard)
/EHs enable C++ EH (no SEH exceptions)  /EHa enable C++ EH (w/ SEH exceptions)
/EHc extern "C" defaults to nothrow     
/EHr always generate noexcept runtime termination checks
/fp:<except[-]|fast|precise|strict> choose floating-point model:
    except[-] - consider floating-point exceptions when generating code
    fast - "fast" floating-point model; results are less predictable
    precise - "precise" floating-point model; results are predictable
    strict - "strict" floating-point model (implies /fp:except)
/Qfast_transcendentals generate inline FP intrinsics even with /fp:except
/Qpar[-] enable parallel code generation
/Qpar-report:1 auto-parallelizer diagnostic; indicate parallelized loops
/Qpar-report:2 auto-parallelizer diagnostic; indicate loops not parallelized
/Qvec-report:1 auto-vectorizer diagnostic; indicate vectorized loops
/Qvec-report:2 auto-vectorizer diagnostic; indicate loops not vectorized
/GL[-] enable link-time code generation 
/volatile:<iso|ms> choose volatile model:
    iso - Acquire/release semantics not guaranteed on volatile accesses
    ms  - Acquire/release semantics guaranteed on volatile accesses
/GA optimize for Windows Application    /Ge force stack checking for all funcs
/Gs[num] control stack checking calls   /Gh enable _penter function call
/GH enable _pexit function call         /GT generate fiber-safe TLS accesses
/RTC1 Enable fast checks (/RTCsu)       /RTCc Convert to smaller type checks
/RTCs Stack Frame runtime checking      /RTCu Uninitialized local usage checks
/clr[:option] compile for common language runtime, where option is:
    pure - produce IL-only output file (no native executable code)
    safe - produce IL-only verifiable output file
    initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002
    noAssembly - do not produce an assembly
    nostdlib - ignore the default \clr directory
/Gd __cdecl calling convention          /Gr __fastcall calling convention
/Gz __stdcall calling convention        /GZ Enable stack checks (/RTCs)
/Gv __vectorcall calling convention     /QIfist[-] use FIST instead of ftol()
/hotpatch ensure function padding for hotpatchable images
/arch:<IA32|SSE|SSE2|AVX|AVX2> minimum CPU architecture requirements, one of:
   IA32 - use no enhanced instructions and use x87 for floating point
   SSE - enable use of instructions available with SSE-enabled CPUs
   SSE2 - (default) enable use of instructions available with SSE2-enabled CPUs
   AVX - enable use of instructions available with AVX-enabled CPUs
   AVX2 - enable use of instructions available with AVX2-enabled CPUs
/Qimprecise_fwaits generate FWAITs only on "try" boundaries, not inside "try"
/Qsafe_fp_loads generate safe FP loads  
                              -OUTPUT FILES-
/Fa[file] name assembly listing file    /FA[scu] configure assembly listing
/Fd[file] name .PDB file                /Fe<file> name executable file
/Fm[file] name map file                 /Fo<file> name object file
/Fp<file> name precompiled header file  /Fr[file] name source browser file
/FR[file] name extended .SBR file       /Fi[file] name preprocessed file
/Fd: <file> name .PDB file              /Fe: <file> name executable file
/Fm: <file> name map file               /Fo: <file> name object file
/Fp: <file> name .PCH file              /FR: <file> name extended .SBR file
/Fi: <file> name preprocessed file      
/doc[file] process XML documentation comments and optionally name the .xdc file
                              -PREPROCESSOR-
/AI<dir> add to assembly search path    /FU<file> forced using assembly/module 
/C don't strip comments                 /D<name>{=|#}<text> define macro
/E preprocess to stdout                 /EP preprocess to stdout, no #line
/P preprocess to file                   /Fx merge injected code to file
/FI<file> name forced include file      /U<name> remove predefined macro
/u remove all predefined macros         /I<dir> add to include search path
/X ignore "standard places"             
                                -LANGUAGE-
/Zi enable debugging information        /Z7 enable old-style debug info
/Zp[n] pack structs on n-byte boundary  /Za disable extensions
/Ze enable extensions (default)         /Zl omit default library name in .OBJ
/Zs syntax check only                   /vd{0|1|2} disable/enable vtordisp
/vm<x> type of pointers to members      
/Zc:arg1[,arg2] C++ language conformance, where arguments can be:
  forScope[-]           enforce Standard C++ for scoping rules
  wchar_t[-]            wchar_t is the native type, not a typedef
  auto[-]               enforce the new Standard C++ meaning for auto
  trigraphs[-]          enable trigraphs (off by default)
  rvalueCast[-]         enforce Standard C++ explicit type conversion rules
  strictStrings[-]      disable string-literal to [char|wchar_t]*
                        conversion (off by default)
  implicitNoexcept[-]   enable implicit noexcept on required functions
  threadSafeInit[-]     enable thread-safe local static initialization
  inline[-]             remove unreferenced function or data if it is
                        COMDAT or has internal linkage only (off by default)
  sizedDealloc[-]       enable C++14 global sized deallocation
                        functions (on by default)
  throwingNew[-]        assume operator new throws on failure (off by default)
  referenceBinding[-]   a temporary will not bind to an non-const
                        lvalue reference (off by default)
/ZH:SHA_256             use SHA256 for file checksum in debug info (experimental)
/Zo[-] generate richer debugging information for optimized code (on by default)
/ZW enable WinRT language extensions    
/constexpr:depth<N>     use <N> as the recursion depth limit
                        for constexpr (default: 512)
/constexpr:backtrace<N> show <N> constexpr evaluations
                        in diagnostics (default: 10)
/constexpr:steps<N>     terminate constexpr evaluation after
                        <N> steps (default: 100000)
/ZI enable Edit and Continue debug info 
/openmp enable OpenMP 2.0 language extensions
                              -MISCELLANEOUS-
@<file> options response file           /?, /help print this help message
/bigobj generate extended object format /c compile only, no link
/errorReport:option Report internal compiler errors to Microsoft
    none - do not send report                
    prompt - prompt to immediately send report
    queue - at next admin logon, prompt to send report (default)
    send - send report automatically         
/FC use full pathnames in diagnostics   /H<num> max external name length
/J default char type is unsigned        
/MP[n] use up to 'n' processes for compilation
/nologo suppress copyright message      
/sdl enable additional security features and warnings
/showIncludes show include file names   /Tc<source file> compile file as .c
/Tp<source file> compile file as .cpp   /TC compile all files as .c
/TP compile all files as .cpp           /V<string> set version string
/w disable all warnings                 /wd<n> disable warning n
/we<n> treat warning n as an error      /wo<n> issue warning n once
/w<l><n> set warning level 1-4 for n    /W<n> set warning level (default n=1)
/Wall enable all warnings               /WL enable one line diagnostics
/WX treat warnings as errors            /Yc[file] create .PCH file
/Yd put debug info in every .OBJ        /Yl[sym] inject .PCH ref for debug lib
/Yu[file] use .PCH file                 /Y- disable all PCH options
/Zm<n> max memory alloc (% of default)  /FS force to use MSPDBSRV.EXE
/await enable resumable functions extension
/Wv:xx[.yy[.zzzzz]] disable warnings introduced after version xx.yy.zzzzz
/source-charset:<iana-name>|.nnnn set source character set
/execution-charset:<iana-name>|.nnnn set execution character set
/utf-8 set source and execution character set to UTF-8
/validate-charset[-] validate UTF-8 files for only legal characters
                                -LINKING-
/LD Create .DLL                         /LDd Create .DLL debug library
/LN Create a .netmodule                 /F<num> set stack size
/link [linker options and libraries]    /MD link with MSVCRT.LIB
/MT link with LIBCMT.LIB                /MDd link with MSVCRTD.LIB debug lib
/MTd link with LIBCMTD.LIB debug lib    
                              -CODE ANALYSIS-
/analyze[-] Enable native analysis      /analyze:quiet[-] No warning to console
/analyze:log<name> Warnings to file     /analyze:autolog Log to *.pftlog
/analyze:autolog:ext<ext> Log to *.<ext>/analyze:autolog- No log file
/analyze:WX- Warnings not fatal         /analyze:stacksize<num> Max stack frame
/analyze:max_paths<num> Max paths       /analyze:only Analyze, no code gen


瀹嬮箯 2019-03-09 11:23 鍙戣〃璇勮
]]>
QT_VS2005_CE6.0_寮鍙戠幆澧冩灦璁?/title><link>http://www.2676208.com/hkingSP/archive/2019/03/08/216291.html</link><dc:creator>瀹嬮箯</dc:creator><author>瀹嬮箯</author><pubDate>Fri, 08 Mar 2019 06:30:00 GMT</pubDate><guid>http://www.2676208.com/hkingSP/archive/2019/03/08/216291.html</guid><wfw:comment>http://www.2676208.com/hkingSP/comments/216291.html</wfw:comment><comments>http://www.2676208.com/hkingSP/archive/2019/03/08/216291.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/hkingSP/comments/commentRss/216291.html</wfw:commentRss><trackback:ping>http://www.2676208.com/hkingSP/services/trackbacks/216291.html</trackback:ping><description><![CDATA[<div><p>銆奞T_VS2005_CE6.0_寮鍙戠幆澧冩灦璁?#37510;?br />1銆佸熀纭?#24134;澧?#38171;?br />鎿嶄綔绯荤粺锛歐indows XP<br />缂栬瘧鍣?#38171;?#38171;?锛塚S2005 VC?#24134;澧? 锛?锛塚S2005 SP1<br />锛圫P1 蹇呴』鏈?#38171;屼互?#24385;渚汣E骞?#37721;扮殑?#25966;鎸?#38171;?#23052;?#37832;夌殑璇?#38171;孉rm Emulator?#27537;紼?#25652;?#32514;栬瘧涓?#26473;?#38171;?#22959;℃嫙鍣ㄤ篃鎶ラ敊“EmulatorStub.exe涓ラ噸?#25930;璇?#8221;锛?br />QT鐗?#37832;?#38171;歲t-everywhere-opensource-src-4.8.6.zip<br />CE SDK锛欰RM Emulator<br /><br />2銆?#28729;?#29761;呮楠?#38171;?br />锛?锛?#37814;奞T婧愮爜瑙e帇?#22476;E:\QT\4.8.6\CE6.0\Emulator<br />Tim锛?#28051;?#27996;烘帹鑽愭牴鐩綍锛?#28051;?#29999;?#28000;讳綍涓?#37714;掔嚎銆佺?#28888;?#32937;瓑骞鸿?#24807;瓙锛?#38339;叉鍑洪敊銆?#37510;?br />Tim锛?u>缁濆涓嶈兘甯?#28051;?#37714;掔嚎</u>锛?br />鍏?#37721;?#37922;佃剳涓婄殑鐩綍锛岃捣鍚?#29999;?#28051;?#28051;?#37714;掔嚎"4.8.6_ArmEmulator"锛岀粨鏋淰S2005鍒涘缓宸ョ▼澶辫触锛?#29831;?#32514;?#28751;?#39582;?#37721;版敮鎸?#37510;?#37510;?br />Tim锛氫篃鏈濂戒?#23940;?#23972;鐩?#38171;?#37812;?#37814;?#28729;堕噷鐢佃?#25120;殑缂栬瘧鐗?#37832;?#38171;?#37824;惧埌鍏?#37721;?#37922;佃?#25120;殑C鐩?#38171;屽?#28056;?#27946;」鐩?#37812;愬姛锛屽師鏉ョ殑鍏?#37721;?#37911;?#37832;?#37734;‥鐩?#38171;屼?#27692;?#36779;触銆?#37510;?#28051;?#37933;ラ亾鏄?#28051;?#37828;敊瑙?#37510;?#37510;?br />锛?锛?#26473;?#37711;?#8220;Visual Studio 2005 鍛戒护?#24385;绀?#8221;<br />浣嶇疆鏄?#8220;寮濮嬭彍鍗?>鎵鏈夌▼搴?>Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 鍛戒护?#24385;绀?#8221;銆?#37510;?br />鐒?#37722;?#37714;囨崲?#22476;缂栬瘧鐩綍锛欵:\QT\4.8.6\CE6.0\Emulator<br />锛?锛?#37813;?#29723;屼互涓?#37723;戒护锛?br />configure -platform win32-msvc2005 -xplatform wince60standard-armv4i-msvc2005<br />①濡?#37835;?#37807;宠妭鐪?#37827;堕棿锛?#38318;?#37714;?#32514;栬瘧锛?br />[-debug-and-release] 缂栬瘧鍜岄摼鎺?#28051;?#28051;?#37911;?#37832;殑Qt<br />[-nomake examples]<br />[-nomake demos]<br />[-nomake docs]<br />[-no-multimedia] <br />[-no-phonon] <br />[-no-phonon-backend] <br />[-no-media-backend] <br />[-no-audio-backend] <br />[-no-openssl]<br />[-no-gtkstyle] <br />[-no-svg] <br />[-no-webkit]  鏄?#37722;?#32514;栬瘧Web鐩?#37711;崇殑?#31476;浜決T瀛?#25652;?#38171;屽姞涓?#26473;?#28051;?#37721;?#28000;?#37930;?#28051;?#28751;?#32514;栬瘧鏃堕棿锛屽氨鐪?#28003;?#37828;?#37722;?#37713;?#28598;囩敤杩?#27996;?#25652;?#27996;?#37510;?br />[-no-javascript-jit] <br />[-no-script]<br />[-no-scripttools] <br />[-no-sql-sqlite]<br />[-no-declarative]<br />[-no-declarative-debug] <br />Tim锛?#28000;?#28051;?#37721;?#38315;?#26916;?#37735;?#37832;?#29831;?#26976;?#37510;?#37510;?<br />Tim锛?br />鍙?#37814;勬潵?#31476;涓?#32514;栬瘧WIN32 VS2005璁剧疆?#27537;锛?br />configure -fast -platform win32-msvc2005  -nomake examples -nomake docs -nomake demos -no-webkit -no-phonon -no-phonon-backend -no-multimedia<br />Tim锛?br />4.8.6鐗堢殑锛?#28051;嶇鎬庝箞缂栬瘧锛岄兘浼氬?#27946;敊銆?#37510;?br />①绗竴涓敊璇?#38171;屼慨鏀?#28641;?#28051;?#38171;?br />qclipboard_win.cpp 绗?06琛?#38171;?br />鎶?#37713;洪敊?#27537;CheckRemoteDebuggerPresent锛岄?#26473;囩増鏈?#37714;?#37826;殑鏂?#23534;?#38171;?#28051;?#32514;栬瘧杩?#37833;?#37510;?#37510;?br />#if defined(_MSC_VER) && _MSC_VER <= 1400<br />    return false;<br />#else<br />........................<br />    CheckRemoteDebuggerPresent(processHandle, &debugged);<br />#endif<br />②绗?#27996;?#28051;敊璇?#38171;?br />缁?#32513;?nmake銆閬囧埌绗?#27996;?#28051;敊璇?br />     platform\DefaultLocalizationStrategy.cpp(327) : error C2001: newline in constant<br />     platform\DefaultLocalizationStrategy.cpp(327) : fatal error C1057: unexpected end of file in macro expansion<br />     杩?#28051;敊璇殑?#24107;鍥?#37828;?#37733;?#28051;?#28000;g爜?#22135;?#28528;?#27537;?#28522;鑻?#37826;囩殑寮?#37721;?#38315;?#37812;愮殑銆?br />    ?#24107;濮嬬殑?#25930;璇?#28000;?#37934;佸涓?#38171;?br />     return WEB_UI_STRING("Look Up “<selection>”", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));<br />     澶?#28729;?#23049;ㄦ剰銆<selection> 鍗?#29831;嶅墠鍚庣殑寮?#37721;?#37510;?#28751;?#37828;?#28729;?#38315;?#37812;?#32514;栬瘧鎶ラ敊銆備慨鏀?#37812;?#28051;嬮潰?#27537;浠g爜<br />    return WEB_UI_STRING("Look Up \"<selection>\"", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));<br />Tim锛氫篃灏?#37828;?#28751;唖election涓?#28186;х殑涓?#37826;?#23534;?#37721;烽偅?#22135;鏀?#37812;?#28051;?#37826;囩殑鏍?#28699;?#38171;?#37510;?#37510;?#28610;囨?#38000;?#28598;栦篃鐢?#26473;欑寮?#37721;蜂箞銆?#37510;?br />锛?锛塩onfigure涔?#37722;?#29825;剧疆?#24134;澧?#37721;?#38322;?#38171;?br />①浣?#37922;ˋrm Emulator锛?br />set INCLUDE=C:/Program Files/Microsoft Visual Studio 8/VC/ce/include;C:\Program Files\Windows CE Tools\wce600\ARM_Emulator\Include\Armv4i<br />set LIB=C:/Program Files/Microsoft Visual Studio 8/VC/ce/lib/armv4i;C:/Program Files/Windows CE Tools/wce600/ARM_Emulator/Lib/armv4i<br />set PATH=C:/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm;%PATH%<br />②濡?#37835;?#28003;?#37922;⊿2416?#27537;SDK锛?br />set INCLUDE=C:/Program Files/Microsoft Visual Studio 8/VC/ce/include;C:\Program Files\Windows CE Tools\wce600\SBC2416\Include\Armv4i<br />set LIB=C:/Program Files/Microsoft Visual Studio 8/VC/ce/lib/armv4i;C:/Program Files/Windows CE Tools/wce600/SBC2416/Lib/armv4i<br />set PATH=C:/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm;%PATH%<br />鎵?#29723;?#38171;?br />nmake<br />Tim锛?#37812;?#28051;嬭浇?#27537;婧愮爜4.8.6鍦╟onfigure涔?#37722;?#38171;屽嚭鐜?#29825;?#37929;?#29723;?#38171;歴etcepaths.bat wince600standard-armv4i-msvc2005 && nmake?#27537;?#24385;绀?#38171;?#37812;戜及璁?#28051;?#37922;?#29825;剧疆涓?#26473;扮幆澧?#37721;?#38322;?#38171;屼篃鏈?#37721;兘鍙?#28000;?#37812;愬姛缂栬瘧锛屼絾涓嶅啋?#20549;涓?#38340;?#38171;?#37929;存帴鎸夌収鏂囩?#29363;帹鑽愮殑姝?#26976;?#37833;?#37510;?#37510;?br />Tim锛?#37812;?#26473;?#29723;宻etcepaths.bat锛岀粨鏋?#23052;?#37832;夐偅涓猄DK鍙?#37832;墂incewm60standard-armv4i-msvc2005锛岃?#28051;旈偅涓狟AT?#22135;?#28528;锛屽彧鏄?#26473;?#29723;屼簡check sdk?#27537;?#23017;?#32148;銆?#37510;?#37813;浠ョ粨璁?#37828;?#37816;夌収?#24121;鑽?#37826;囩?#29363;寚瀹歋DK?#27537;?#30718;寰?#38171;宯make搴?#29831;?#28751;?#37721;?#28000;?#37510;?#37510;?br />Tim锛?#37922;ㄤ綔鑰呯殑鏂规锛孨make缂栬瘧鎴愬姛銆?#37510;?br />锛?锛?#28729;?#29761;卶t-vs-addin锛?br />瀹?#29761;?#8220;qt-vs-addin-1.1.10.exe”銆?#37510;?br />Tim锛?#8220;qt-vs-addin-1.2.0-opensource.exe 锛屽氨寮濮?#28051;嶆敮鎸乂S2005銆?#37510;?#8221;鏃?#29831;?#37510;?#37510;?br />锛?锛?#28103;?#37824;筍DK?#27537;鍚嶇О锛?br />缂栬緫" C:\QT\CE6.0\4.8.6\mkspecs\wince60standard-armv4i-msvc2005\qmake.conf "銆?#37510;?br />灏嗛噷?#28528;?#27537;<br />CE_SDK  = STANDARDSDK_600<br />鍙樻洿涓?br />CE_SDK  = ARM_Emulator<br />Tim锛氬洜涓哄師濮?#32514;栬瘧?#27537;SDK?#24134;澧?#38171;?#28729;?#37722;嶇О鍙仛"wince600standard-armv4i-msvc2005"锛孉rm Emulator?#27537;搴?#29882;?#26473;?#28051;幆澧冧篃鏄竴鏍风殑锛屼絾鏄?#37722;嶇О涓嶄竴鏍?#38171;孮t鎻掍欢?#32048;鎶ラ敊銆?#37510;?br />锛?锛?#37718;呭惈?#24134;澧?#37721;?#38322;?#38171;?br />①Arm_Emulator?#27537;璇?#38171;?br />鍦╒S2005 -> Tool -> Options -> VC++ Directories -> Arm_Emulator?#22135;?#28528;锛?br />Include澧炲姞锛? C:\QT\4.8.6\CE6.0\Emulator\include "銆?#37510;?br />Library澧炲姞锛? C:\QT\4.8.6\CE6.0\Emulator\lib " 銆?#37510;?br />Tim锛?#37812;戜竴寮濮?#28751;?#23052;?#37718;呭惈锛岀粨鏋?#32514;栬瘧鍒?#27996;虹殑浠g爜锛?#37814;ラ敊娌?#37832;? QtSql "銆?#37510;?br />②WIN32缂栬瘧?#27537;璇?#38171;?br />鍦╒S2005 -> Tool -> Options -> VC++ Directories -> Win32?#22135;?#28528;锛?br />Include澧炲姞锛? C:\QT\4.8.6\WIN32\include "銆?#37510;?br />Library澧炲姞锛? C:\QT\4.8.6\WIN32\lib " 銆?#37510;?br />Tim锛?br />涓?#27996;?#29825;¬isual Assist?#27967;濂界殑璇?#37714;玅T?#27537;鍑?#37825;?#37722;?#37510;佺被鍚?#38171;?#37832;濂?#37734;╒S2005?#22135;?#28528;澶氭坊?#23006;?#31476;浜?#37929;綍濡?#38171;?br />C:\QT\4.8.6\WIN32\src<br />C:\QT\4.8.6\WIN32\include\Qt<br />C:\QT\4.8.6\WIN32\include\QtCore<br />C:\QT\4.8.6\WIN32\include\QtGui<br />锛?锛?#23534;鍚疉rm Emulator锛?br />Tool -> Connect to Device -> Arm Emulator Device銆?#37510;?br />锛?锛?#37826;板缓?#31476;涓猀T宸ョ▼锛?#32514;栬瘧銆?#26473;?#29723;?#38171;?br />寮鍚疺S2005 -> File -> New -> Project -> Qt4 Projects -> Qt Window CE Application -> ?#20824;閫夐粯璁?#29825;剧疆锛岀劧鍚?#32514;栬瘧銆?#38318;?#32515;?#37510;?#37813;?#29723;?#38171;?#37832;鍚?#37812;愬姛鍦ˋrm Emulator?#22135;?#28528;寮?#37713;?#28051;?#28725;?#29831;濇鏉?#38171;圤K锛?#37510;?#37510;?br />Tim锛?#37930;嬪埌閮?#32515;茬殑鏃跺?#38171;?#37922;?#27996;哣S2005?#27537;搴?#38171;坢svcr80d.dll锛?#38171;?#26473;?#37832;塓T?#27537;涓?#28051;?#28051;?#25652;?#38171;圦tCored4.dll銆丵tGuid4.dll浠涔堢殑锛?#37510;?#37510;?br />锛?0锛?#32514;栬緫*.ui鏂囦欢锛?#29825;?#29825;?#37923;岄潰锛?br />瀹?#29761;? qt-creator-opensource-windows-x86-3.3.0.exe "锛?#37813;嶈兘鎵?#23534;" *.ui "鏂囦欢锛屼粠鑰屽彉?#27967;鐣岄潰銆?#37510;?br />Tim锛?#37930;?#27996;?#28051;?ui鏂囦欢?#21502;瀹炴槸?#31476;涓獂ml?#31912;鏋勭殑鏂囨。銆?#37510;?br />Tim锛?br />" qt-creator-opensource-windows-x86-3.0.0.exe " Based on Qt5.2.0 ( MSVC2010,32 bit )銆?#37510;?br />" qt-creator-opensource-windows-x86-3.3.0.exe " Based on Qt5.4.0 ( MSVC2010,32 bit )銆?#37510;?#37510;?#37510;?br /><br /><br /><br /><br /><br /><br /><br /></p></div><img src ="http://www.2676208.com/hkingSP/aggbug/216291.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/hkingSP/" target="_blank">瀹嬮箯</a> 2019-03-08 14:30 <a href="http://www.2676208.com/hkingSP/archive/2019/03/08/216291.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Qt5.10.1 static compiling on Windows MSVC/Ubuntu g++http://www.2676208.com/hkingSP/archive/2019/03/08/216289.html瀹嬮箯瀹嬮箯Fri, 08 Mar 2019 03:00:00 GMThttp://www.2676208.com/hkingSP/archive/2019/03/08/216289.htmlhttp://www.2676208.com/hkingSP/comments/216289.htmlhttp://www.2676208.com/hkingSP/archive/2019/03/08/216289.html#Feedback0http://www.2676208.com/hkingSP/comments/commentRss/216289.htmlhttp://www.2676208.com/hkingSP/services/trackbacks/216289.html?#24134;澧?#38171;歐indows10 / vs2013 or vs2015锛圦t5.10.1鏄?#28000;++11涓哄熀纭锛屽?#29363;vs2008姝囪彍浜?#38171;?/h3>鍙?#38000;?#28000;g爜閲岀殑Readme锛?br />
1.瀹?#29761;?#38171;?/strong>
瀹?#29761;?#27996;唒erl/python2.7/ruby 
瀹?#29761;?#27996;唙s2015

2.?#24134;澧?#37721;?#38322;?/strong>
add C:\Perl\bin to PERL_HOME
add %PERL_HOME% to path
add C:\Python27 to PYTHON_HOME
add %PYTHON_HOME% to path
add C:\Ruby26\bin to RUBY_HOME
add %RUBY_HOME% to path
add C:\Qt\Qt5.10.1\5.10.1\msvc2015\bin to QT_LIB_HOME
add %QT_LIB_HOME% to path
add C:\Qt\Qt5.10.1\Tools\QtCreator\bin to QT_CREATOR_HOME
add %QT_CREATOR_HOME% to path
娉ㄦ剰锛氬儚瀹?#37826;规帹鑽愮殑?#31476;鏍?#38171;?#26473;欓噷鏈濂?#37922;?#37722;屼竴鐗?#37832;殑binary瀹?#29761;呯殑Qt姣旇緝瀹?#29761;?#37510;?br />娉ㄦ剰锛氬鏋?#26473;欓噷娌?#37832;夋坊?#23006;QT?#27537;?#30718;寰?#38171;屽氨?#32048;琚帹鑽愮敤nmake缂栬瘧锛屽惁鍒欒?#24121;鑽愮敤jom缂栬瘧銆?/div>3.浠g爜锛?/strong>
浠g爜瑙e帇缂╁埌C:\Qt\Qt5.10.1_src
浜?#37828;疌onfigure鏂囦欢鍦?#38171;?br />C:\Qt\Qt5.10.1_src

qtbase鏂囦欢澶?#37734;?#38171;?br />
C:\Qt\Qt5.10.1_src\qtbase

4.淇?#37824;?#38320;嶇疆浠嶮D?#22476;MT锛堝姩鎬侀摼鎺?#37824;?#28051;洪潤鎬侀摼鎺?#38171;?#38171;?/strong>
淇?#37824;?#37826;囦欢锛?br />C:\Qt\Qt5.10.1_src\qtbase\mkspecs\common\msvc-desktop.conf
淇?#37824;?#28051;嬮潰鍑?#29723;屼唬?#29212;锛?/div>
QMAKE_CFLAGS_RELEASE    = $$QMAKE_CFLAGS_OPTIMIZE -MD
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -MD
QMAKE_CFLAGS_DEBUG      = -Zi -MDd
鏀?#28051;?#38171;?br />
QMAKE_CFLAGS_RELEASE    = $$QMAKE_CFLAGS_OPTIMIZE -MT
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -MT
QMAKE_CFLAGS_DEBUG      = -Zi -MTd

淇?#37824;?#37826;囦欢锛?br />C:\Qt\Qt5.10.1_src\qtbase\mkspecs\common\msvc-version.conf
鍦?#37832;鍓嶉潰?#23006;涓?#38171;?br />
QMAKE_MSC_VER = 1900
鍚?#37714;欎細鎶ラ敊锛?br />
msvc-version.conf loaded but qmake_msc_ver isn't set

杩?#29723;孋:\Qt\Qt5.10.1_src>configure.bat 纭?#29825;?#38320;嶇疆
5.缂栬瘧锛?/strong>
<license>閫夋嫨-opensource
鎺?#37714;?#37721;?#38315;夋嫨锛?/strong>
寮濮?-> Visual Studio 2015 -> Developer Command Prompt for VS2015 

鐤媯?#27537;缂?#37713;?#32514;栬瘧閫夋嫨锛屽彲浠?#37922;?#37833;?#28751;?#29831;?#37832;灏?#37718;?#32514;栬瘧锛?span style="color: red;">褰?#37906;?#37812;?#28598;辫触浜?/span>锛?comercial user 鍙?#28000;?#37922;╭t?#27537;Congiguration tool 鐒?#38000;?#37812;?#39582;?#23052;?#37832;?#38171;?#37832;?#27996;?#28000;?#37833;?#37827;犳硶zh锛?/strong>锛?br />
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_static"  -make libs -nomake tools -nomake examples -nomake tests -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -no-feature-texthtmlparser -no-feature-textodfwriter -no-feature-concurrent -no-feature-effects -no-feature-sharedmemory -no-feature-systemsemaphore -no-feature-im -no-feature-process -no-feature-dom -no-feature-filesystemmodel -no-feature-filesystemwatcher -no-feature-graphicsview -no-feature-graphicseffect -no-feature-sizegrip -no-feature-calendarwidget -no-feature-printpreviewwidget -no-feature-keysequenceedit -no-feature-colordialog -no-feature-filedialog -no-feature-fontdialog -no-feature-printpreviewdialog -no-feature-progressdialog -no-feature-inputdialog -no-feature-errormessage -no-feature-wizard -no-feature-datawidgetmapper -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-imageformat_png -no-feature-imageformat_jpeg -no-feature-image_heuristic_mask -no-feature-image_text -no-feature-colornames -no-feature-cups -no-feature-paint_debug -no-feature-freetype -no-feature-translation -no-feature-codecs -no-feature-big_codecs -no-feature-iconv -no-feature-ftp -no-feature-udpsocket -no-feature-networkproxy -no-feature-socks5 -no-feature-networkdiskcache -no-feature-bearermanagement -no-feature-completer -no-feature-fscompleter -no-feature-desktopservices -no-feature-mimetype -no-feature-systemtrayicon -no-feature-undocommand -no-feature-undostack -no-feature-undogroup -no-feature-undoview -no-feature-statemachine -no-feature-gestures -no-feature-dbus -no-opengl 

鎴愬姛?#27537;缁勫悎1锛堟兂缂栬瘧鍝?#28051;?灏?#37720;?#37818;夊摢涓猻kip锛?#38171;?/strong>
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -nomake tools -nomake examples -nomake tests -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -no-opengl 
灏?#29831;?锛?br />
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwinextras -skip qtx11extras  -no-openssl 
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
?#31912;鏋?#38171;?br />
Static builds of QtWebEngine aren't supported.
"Some of the required modules (android|ios|winrt|qtHaveModule(webengine)) are not available."
skip webengine 缁?#32513;?#23092;?#29831;?#38171;?br />
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -skip qtx11extras  -no-openssl 
?#31912;鏋?#38171;?br />鎴愬姛

鎴愬姛?#27537;缁勫悎2锛?/strong>
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -skip qtx11extras  -no-openssl 
鎴愬姛?#27537;缁勫悎1鍙?#37828;?#37734;?#37719;?#37913;?#32514;栬瘧qtbase鏃?#37832;?#37922;?#38171;屼簬鏄?#28000;?#37722;?#38322;囩敤?#27537;鎴愬姛?#27537;缁勫悎2锛屾荤粨鍛戒护涓?#38171;?/strong>
cd C:\Qt\Qt5.10.1_src
configure -confirm-license -opensource -platform win32-msvc -static -debug-and-release -prefix "C:\Qt\Qt5.10.1_mt_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -skip qtx11extras  -no-openssl 
jom -j2
jom install

plus1:
WARNING: Using OpenGL ES 2.0 on Windows without ANGLE.
The build will most likely fail.
Specify -opengl desktop to use regular OpenGL.

plus2:
-skip qtwebengine , ?#20824;鏄疞inux only
Webengine options:
  -webengine-alsa ................ Enable ALSA support [auto] (Linux only)
  -webengine-pulseaudio .......... Enable PulseAudio support [auto]
                                   (Linux only)
  -webengine-embedded-build ...... Enable Linux embedded build [auto]
                                   (Linux only)
  -webengine-icu ................. Use system ICU libraries [system/qt]
                                   (Linux only)

plus3:
Static builds of QtWebEngine aren't supported.

?#24134;澧?#38171;歎buntu 18.10/linux g++


1.瀹?#29761;?#38171;?/strong>
瀹?#29761;?#27996;唒erl/python/ruby ( Linux 涓?python2.x ?#27537;鍚?#28699;?#37828;痯ython python3.x?#27537;鍚?#28699;?#37828;痯ython3 )
?#31930;?#31476;瀹?#29761;?#38171;?br />

sudo apt-get install build-essential libpcap0.8-dev libx11-dev libfreetype6-dev libavahi-gobject-dev libsm-dev libxrender-dev perl python ruby


2.?#24134;澧?#37721;?#38322;?#38171;?/strong>
linux?#27537;?#24134;澧?#37721;?#38322;?鍙?#29781;?#28051;?#37828;?#37911;规畩瀹?#29761;呯殑锛屽簲璇ラ兘琚?#37718;呭惈鍦ㄥ唴浜?br />
3.浠g爜锛?/strong>
鍚?#28051;?br />
4.?#23017;鎬侀摼鎺?#37824;?#28051;洪潤鎬侀摼鎺?#38171;?/strong>
linux娌?#37832;塵d/mt锛?#32514;栬瘧?#20824;鏃跺?鐩存帴-static搴?#29831;?#28751;?#37721;?#28000;?#37510;?br />
5.缂栬瘧锛?/strong>
灏?#29831;曠殑缁勫悎1:
./configure -confirm-license -opensource -static -debug-and-release -prefix "/home/peng/Share/Qt5.10.1_static" -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -qt-xcb -opengl desktop -nomake tools -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qttools -skip qtwebengine -skip qtwinextras -no-openssl 
缂栬瘧鍑洪敊锛?br />
qfilesystemengine_unix.cpp:101:12: error: ‘int renameat2(int, const char*, int, const char*, unsigned int)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
bug fix锛?br />鎹?#29831;?#29781;?#28729;?#29761;単libc2.28鏉?#29785;?#37712;?#37510;?#37510;?/div>
鍙?#38000;?#37826;囩尞锛?br />
https://retifrav.github.io/blog/2018/02/17/build-qt-statically/
https://blog.csdn.net/u012822903/article/details/62058287



瀹嬮箯 2019-03-08 11:00 鍙戣〃璇勮
]]>Git绗?#28051;?#38339;舵锛歴how log/show head/show modified/modify commenthttp://www.2676208.com/hkingSP/archive/2019/03/05/216287.html瀹嬮箯瀹嬮箯Tue, 05 Mar 2019 01:09:00 GMThttp://www.2676208.com/hkingSP/archive/2019/03/05/216287.htmlhttp://www.2676208.com/hkingSP/comments/216287.htmlhttp://www.2676208.com/hkingSP/archive/2019/03/05/216287.html#Feedback0http://www.2676208.com/hkingSP/comments/commentRss/216287.htmlhttp://www.2676208.com/hkingSP/services/trackbacks/216287.html鏌?#37930;?#37827;?#36423;?#38171;?#37832;?#37734;癱ommit璁板綍锛?#38171;?/strong>
git log
result:
commit f46a2277acf6b1604f3268fcd3652682f23347bc (HEAD -> master)
Author: songpeng <song.peng@bizerba.com>
Date:   Mon Mar 4 17:07:09 2019 +0800
鏌?#37930;?#37827;?#36423;?#28051;殑鏌愭?#24385;浜?#38171;?/strong>
git show f46a2277acf6b1604f3268fcd3652682f23347bc 


鏌?#37930;?#37832;?#37734;?#28000;g爜淇?#37824;?#37807;呭喌锛?br />宸?#28103;?#37824;?#38171;?#37832;猘dd?#27537;鍙樻洿锛?br />git diff
宸瞐dd锛?#37832;猚ommit?#27537;鍙樻洿锛?br />git diff --cached
涓婇潰涓?#37833;?#37722;?#39582;?#38171;?br />git diff HEAD

鍙樻洿鏃?#36423;楀唴瀹?#38171;坈omment锛?
棣?#37711;?#37828;剧ず鏈杩?娆℃彁浜ょ殑commit:
git rebase -i HEAD~3
杩?#29723;屽悗鏄剧?#21700;涓?鎴?#37828;?#37734;╳indows?#22135;?#28528;瀹?#29761;?#27996;唙im,?#21812;瀹逛細鏄剧ず鍦╲im?#22135;锛?#28051;?#37933;ラ亾娌?#28729;?#29761;卾im浼氬?#20633;綍鏄剧ず)锛?br />
pick 41b65c0 recursive_search_and_link_libraries
pick 0de33bd success_built_with_vs2013lib_on_creator
pick 7ed1e94 success to built with vs2013lib and run on vs2013 ide
绉诲姩鍏夋?#22247;埌鎯?#29781;?#28103;?#37824;筩ommit?#27537;鎵鍦?#29723;?#38171;屽?#21778;ick鏀?#37812;恟eword锛岀劧鍚庝繚瀛?br />鐒?#37722;?#37714;?#37826;扮殑鐣岄潰鍐呯被浼?#28028;氬嚭鐜?#28003;犳兂淇?#37824;圭殑comment锛屽皢涔嬩慨鏀?#28103;?#28699;?#37510;?br />鐒?#37722;?#26473;?#29723;?#38171;?br />git push --force锛屽氨?#32048;?#22136;鏂?#28028;犲埌鏈嶅姟鍣?#38171;屾洿鏂?#28003;?#29781;?#28103;?#37824;圭殑comment.




瀹嬮箯 2019-03-05 09:09 鍙戣〃璇勮
]]>
Git绗?#27996;?#38339;舵锛歛dd files/undo add/branch add/branch view/branch new/branch delete/branch push/pull remote to local files/fetch originhttp://www.2676208.com/hkingSP/archive/2019/03/04/216286.html瀹嬮箯瀹嬮箯Mon, 04 Mar 2019 08:26:00 GMThttp://www.2676208.com/hkingSP/archive/2019/03/04/216286.htmlhttp://www.2676208.com/hkingSP/comments/216286.htmlhttp://www.2676208.com/hkingSP/archive/2019/03/04/216286.html#Feedback0http://www.2676208.com/hkingSP/comments/commentRss/216286.htmlhttp://www.2676208.com/hkingSP/services/trackbacks/216286.htmladd:
git add *

undo add:
You can undo git add before commit with

git reset <file> 

which will remove it from the current index (the "about to be committed" list) without changing anything else.

You can use

git reset

add brach:
git branch rikSkinLoader

view branch:
git branch -a

switch branch:
git checkout BranchName

delete branch:
git branch -d

push branch:
git push origin branchname

pull:
git pull origin <remote_branch>锛?lt;local_branch>
git pull origin master:master



鏌?#37930;?#26473;滅鍙樻洿/鍚?#32513;?#37823;嶄綔锛?br />git remote update

 

First use git remote update, to bring your remote refs up to date. Then you can do one of several things, such as:


git status -uno 
git status -uno will tell you whether the branch you are tracking is ahead, behind or has diverged. If it says nothing, the local and remote are the same.
git show-branch *master
git show-branch *master will show you the commits in all of the branches whose names end in 'master' (eg master and origin/master).


瀹嬮箯 2019-03-04 16:26 鍙戣〃璇勮
]]>
Linux 蹇?#37817;?#37826;?#23534;?杞?鑻遍摼鎺?/ln鍛戒护鐢ㄦ硶http://www.2676208.com/hkingSP/archive/2019/03/03/216280.html瀹嬮箯瀹嬮箯Sun, 03 Mar 2019 03:24:00 GMThttp://www.2676208.com/hkingSP/archive/2019/03/03/216280.htmlhttp://www.2676208.com/hkingSP/comments/216280.htmlhttp://www.2676208.com/hkingSP/archive/2019/03/03/216280.html#Feedback0http://www.2676208.com/hkingSP/comments/commentRss/216280.htmlhttp://www.2676208.com/hkingSP/services/trackbacks/216280.html闃?#29831;?#37711;?#37826;?/a>

瀹嬮箯 2019-03-03 11:24 鍙戣〃璇勮
]]>
Vim 閰嶇疆http://www.2676208.com/hkingSP/archive/2019/03/03/216279.html瀹嬮箯瀹嬮箯Sun, 03 Mar 2019 02:54:00 GMThttp://www.2676208.com/hkingSP/archive/2019/03/03/216279.htmlhttp://www.2676208.com/hkingSP/comments/216279.htmlhttp://www.2676208.com/hkingSP/archive/2019/03/03/216279.html#Feedback0http://www.2676208.com/hkingSP/comments/commentRss/216279.htmlhttp://www.2676208.com/hkingSP/services/trackbacks/216279.html绯荤粺浣嶇疆锛?/strong>
/etc/vim/vimrc

鐢?#37812;?#28003;嶇疆锛堥粯璁?#37827;?#38171;?#38171;?/strong>
~/.vimrc

Vim 閰嶇疆棰滆壊涓?#26864;?#38171;?/strong>
https://vimcolors.com/

Vim 閰嶇疆涓嬭浇?#27537;theme锛?/strong>
?#22476;涓婇潰?#27537;缃戠珯涓嬭浇sometheme.vim鏂囦欢
鏀惧埌 锝?.vim/colors涓嬮潰
.vimrc涓姞鍏?#38171;歝olor sometheme
.vimrc涓姞鍏?#38171;歴yntax on 

.vimrc?#21812;瀹?#38171;?/strong>
" 鏄剧?#40511;?#23677;彿
 set nu
" 缂?#26473;涚?#28888;牸鏁?/span>
set tabstop=4
" 棰滆壊涓?#26864;?/span>
color railscasts
" 棰滆壊璇硶鐢熸晥
syntax on
" ?#29300;鎹?#37826;囨。?#34987;?#28727;锛岃嚜?#23017;瀹夋帓缂?#26473;?#38171;屾瘮濡傚寰?c鏂囦欢鍜屽寰卪akefile?#32048;鏈?#28051;?#37722;岀殑缂?#26473;?/span>
filetype indent on
" 鏂囦欢缂栫爜锛坵ithout bom锛?#38171;?/span>
set nobomb
" 鍐呴儴缂栫爜
set encoding=utf-8
" 鏂囦欢缂栫爜utf-8
set fileencoding=utf-8
" 缂?#37934;佸垪琛?br />
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1



瀹嬮箯 2019-03-03 10:54 鍙戣〃璇勮
]]>
Vim 鏂囦欢缂栫爜鏌?#37930;?淇?#37824;?/title><link>http://www.2676208.com/hkingSP/archive/2019/03/03/216278.html</link><dc:creator>瀹嬮箯</dc:creator><author>瀹嬮箯</author><pubDate>Sun, 03 Mar 2019 01:55:00 GMT</pubDate><guid>http://www.2676208.com/hkingSP/archive/2019/03/03/216278.html</guid><wfw:comment>http://www.2676208.com/hkingSP/comments/216278.html</wfw:comment><comments>http://www.2676208.com/hkingSP/archive/2019/03/03/216278.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/hkingSP/comments/commentRss/216278.html</wfw:commentRss><trackback:ping>http://www.2676208.com/hkingSP/services/trackbacks/216278.html</trackback:ping><description><![CDATA[<span style="font-size: 10pt;">Vim 鏂囦欢缂栫爜鏌?#37930;?#38171;?/span><br /><span style="font-size: 10pt;">:set fileencoding</span><br /><br /><span style="font-size: 10pt;">Vim 鏂囦欢缂栫爜淇?#37824;?#38171;?/span><br /><span style="color: #4f4f4f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-variant-ligatures: common-ligatures; text-align: -webkit-center; background-color: #ffffff; font-size: 10pt;">:set fileencoding=utf-8<br /></span><br /><span style="font-size: 10pt;">Vim 鏂囦欢缂栫爜淇?#37824;?#38171;坵ithout bom锛?#38171;?/span><br /><span style="font-size: 10pt;">:set nobomb</span><br /><span style="color: #4f4f4f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-variant-ligatures: common-ligatures; text-align: -webkit-center; background-color: #ffffff; font-size: 10pt;">:set fileencoding=utf-8  or :wq</span><br /><br /><span style="font-size: 10pt;">Terminal涓?#37826;囦欢缂栫爜鏌?#37930;?#38171;?/span><br /><span style="font-size: 10pt;">file name.cpp </span><img src ="http://www.2676208.com/hkingSP/aggbug/216278.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/hkingSP/" target="_blank">瀹嬮箯</a> 2019-03-03 09:55 <a href="http://www.2676208.com/hkingSP/archive/2019/03/03/216278.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Git绗竴闃舵锛氬叆闂?#37823;嶄綔(check in riles/checkout files)http://www.2676208.com/hkingSP/archive/2019/03/02/216277.html瀹嬮箯瀹嬮箯Sat, 02 Mar 2019 06:54:00 GMThttp://www.2676208.com/hkingSP/archive/2019/03/02/216277.htmlhttp://www.2676208.com/hkingSP/comments/216277.htmlhttp://www.2676208.com/hkingSP/archive/2019/03/02/216277.html#Feedback0http://www.2676208.com/hkingSP/comments/commentRss/216277.htmlhttp://www.2676208.com/hkingSP/services/trackbacks/216277.htmlclone锛?/span>
git clone https://github.com/songpeng22/HelloWorld.git

clone with username and password:
git clone https://username:password@github.com/username/repository.git.

clone old version:
git clone git://sourceware.org/git/glibc.git
cd glibc
git checkout glibc-2.28

config:
git config --global user.email "songpeng24@msn.com"
git config --global user.name 'songpeng22'

config status:
git config -l

project Status:
git status

鍦╣ithub涓?#37714;涘缓锛?br />https://github.com/songpeng22/CMake_QT_03_Qml-Standard.git
git init
git add README.md
git add * git commit -m "first commit" git remote add origin https://github.com/songpeng22/CMake_QT_03_Qml-Standard.git git push -u origin master




瀹嬮箯 2019-03-02 14:54 鍙戣〃璇勮
]]>Vim 澶?#37826;囦欢缂栬緫 鍒囨崲http://www.2676208.com/hkingSP/archive/2019/02/28/216272.html瀹嬮箯瀹嬮箯Thu, 28 Feb 2019 05:58:00 GMThttp://www.2676208.com/hkingSP/archive/2019/02/28/216272.htmlhttp://www.2676208.com/hkingSP/comments/216272.htmlhttp://www.2676208.com/hkingSP/archive/2019/02/28/216272.html#Feedback0http://www.2676208.com/hkingSP/comments/commentRss/216272.htmlhttp://www.2676208.com/hkingSP/services/trackbacks/216272.html澶?#37826;囦欢缂栬緫锛?#28598;?#28051;?#23143;愮爜鏂囦欢缂栬緫锛?/strong>锛?/span>
1銆?#37813;?#23534;绗竴涓?#23143;愮爜锛?/span>
鍦?#37723;戒护琛?#28051;?#26440;?#37711;?/span>
vi drivers/nand_legacy/nand_legacy.c
vi灏?#37813;?#23534;浜唍and_legacy.c鏂囦欢銆?#37510;?/span>
2銆?#37813;?#23534;绗?#27996;?#28051;?#23143;愮爜锛?/span>
鍦?#23005;ゅ熀纭涓?#38171;?#37734;╲i缂栬?#25120;?#23684;潰锛屽?#25106;护妯?#23534;?#28051;?#38171;?/span>
杈?#37711;?#38171;歴p common/env_nand.c
灏?#37721;?#28000;?#37712;?#28598;?#37813;?#23534;?#31476;涓?#23143;愮爜銆?#37510;?/span>
Tim锛?/span>
鏂囦欢澶圭鍙蜂竴瀹?#29781;佺敤" / "
3銆?#37734;?#37826;囦欢闂?#37714;囨崲锛?/span>
锛?锛?/span>
Ctrl + w
鐒?#37722;?#28051;?#28051;嬮敭閫夋嫨銆?#37510;?/span>
锛?锛?/span>
Ctrl + w + w
鎸?#28051;?#23046;鍒囨崲杩囧幓銆?#37510;?/span>



瀹嬮箯 2019-02-28 13:58 鍙戣〃璇勮
]]>
探灵笔记系统攻略
云南十一选五开奖今天开奖结果 时时彩选号必中计算方法 时时后一视频教程稳赚 上海时时计划软件手机版式 重庆时时计划网 我的奇妙男友2第31集免费 爱网爱快乐时时 牛彩网图谜字谜总汇 江苏11选5开奖时间 大乐透开奖号