
mingw
llrraa2010
这个作者很懒,什么都没留下…
展开
-
lib order
http://www.mingw.org/wiki/HOWTO_Specify_the_Location_of_External_Libraries_for_use_with_MinGW -llibrary -l library Search the library named library when linking. (The second alternative w原创 2013-01-05 19:37:58 · 2418 阅读 · 1 评论 -
enable/disable ie proxy
enable ie proxy: #include #include #include int main(int argc, char **argv) { HKEY hKeyIn = HKEY_CURRENT_USER, hKeyOut; if(RegOpenKeyEx( hKeyIn, "Software\\Mic原创 2013-10-30 04:48:04 · 1515 阅读 · 0 评论 -
value has been optimized out
use the typecasted address to print: p *((Object*)0xb6ffe050)->clazz findClassFromLoaderNoInit (descriptor=0x80925e8 "LFoo;", loader=0xb6ffe050) at dalvik/vm/oo/Class.c:1243 1243 dotNa原创 2013-04-20 20:51:49 · 6392 阅读 · 2 评论 -
read of mingw: unknown error
C:\MinGW-4.7.1\include\fcntl.h #define _O_BINARY 0x8000 /* Input and output is not translated. */ http://www.ixpub.net/thread-1450177-1-1.html d:\linux\linuxkernel\WORKING_DIRECTORY\android-om原创 2013-02-13 00:04:07 · 917 阅读 · 0 评论 -
strerror(errno)
it can be used like : #include printf("opt header write failed: %s", strerror(errno)); very usful to catch the meaning of error.原创 2013-02-23 07:48:19 · 858 阅读 · 0 评论 -
g++ -v -g; gcc -g
http://cboard.cprogramming.com/tech-board/82071-mingw-linking-gui-program-2.html If you use the -v or --verbose flags when linking/compiling you'll get a lot more information about those processes,原创 2013-01-03 16:49:00 · 2028 阅读 · 0 评论 -
strdup
The strdup() function returns a pointer to a new string which is a duplicate of the string s. Memory for the new string is obtained with malloc(3), and can be freed with free(3). In ca原创 2013-02-16 13:14:10 · 697 阅读 · 0 评论 -
open, ftruncate, mmap, stat
open system\core\init\property_service.c android: fd = open("/dev/__properties__", O_RDWR | O_CREAT, 0600); mingw: fd = open("c:\\__properties__", O_RDWR | O_CREAT, 0600); if (fd fd =原创 2013-01-28 20:06:13 · 1250 阅读 · 0 评论 -
Name Mangling
./Debug/dialogs.o: In function `ZN8wxString7ImplStrEPKcRK8wxMBConv': C:/wxWidgets-2.9.4/include/wx/string.h:525: undefined reference to `_imp___ZN8wxString10ConvertStrEPKcmRK8wxMBConv' in c:\wxWidge原创 2013-01-17 21:34:32 · 762 阅读 · 0 评论 -
How to use libraries compiled with MingW in MSVC?
http://stackoverflow.com/questions/2529770/how-to-use-libraries-compiled-with-mingw-in-msvc http://blogs.msdn.com/b/vijay/archive/2009/10/02/what-is-name-decoration-or-name-mangling.aspx Based转载 2013-01-17 21:37:58 · 672 阅读 · 0 评论 -
icu4c-4_4_2 on mingw
http://apps.icu-project.org/icu-jsp/downloadPage.jsp?ver=4.4.1&base=c http://site.icu-project.org/download/48 #8535 & #8537 (C only) Prebuilt binaries are usable on MinGW but the MinGW build is brok原创 2013-01-08 22:00:37 · 2003 阅读 · 0 评论 -
make -d
make -d -d Print lots of debugging information.原创 2013-01-17 07:38:49 · 655 阅读 · 0 评论 -
Re: [Mingw-users] Linking with Windows VSSAPI.DLL
http://lists-archives.com/mingw-users/05372-linking-with-windows-vssapi-dll.html notice this part: Many years ago, I had to interface to a third-party dll for which I simply couldn't manage to bui转载 2013-01-05 20:55:32 · 703 阅读 · 0 评论 -
MinGW Socket-create_socket
d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\system\core\init\util.c /* * create_socket - creates a Unix domain socket in ANDROID_SOCKET_DIR * ("/dev/socket") as dic原创 2013-01-29 21:48:53 · 1297 阅读 · 0 评论 -
undefined reference to `environ'
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_lang_ProcessManager.cpp:259: undefined reference to `environ' `environ' is defined in d:\lin原创 2013-01-13 13:22:51 · 973 阅读 · 0 评论 -
libcorejni.project
<Compiler Options="-g;-O0;-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=yes);-fpermissive;" C_Options="-g;-O0;-Wall;$(shell wx-config --cxxflags --unicode=yes --debug=yes)" Required="yes" P原创 2013-01-13 13:17:21 · 961 阅读 · 0 评论 -
extern "C"
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/libcore/luni/src/main/native/java_net_InetAddress.cpp:94: undefined reference to `getaddrinfo(char const*, char const*, addrinf原创 2013-01-05 21:03:44 · 841 阅读 · 0 评论 -
using curl on mingw
1. download curl for mingw: http://curl.haxx.se/gknw.net/7.28.1/dist-w32/curl-7.28.1-devel-mingw32.zip 2.build the sample in curl-7.28.1-devel-mingw32.zip Makefile.m32 is not working, so try th原创 2013-01-05 19:55:28 · 1554 阅读 · 0 评论 -
nest expression & Pyparsing
http://pyparsing.wikispaces.com/ http://bbs.csdn.net/topics/330052586 C++ boost "]*?|(?R))*>" str = ">sdaf>" >>> from pyparsing import nestedExpr >>> data2 = " >d>" >>> print nested原创 2014-07-31 06:13:03 · 1084 阅读 · 0 评论