
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 · 2431 阅读 · 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 · 1525 阅读 · 0 评论 -
value has been optimized out
use the typecasted address to print: p *((Object*)0xb6ffe050)->clazzfindClassFromLoaderNoInit (descriptor=0x80925e8 "LFoo;", loader=0xb6ffe050) at dalvik/vm/oo/Class.c:12431243 dotNa原创 2013-04-20 20:51:49 · 6420 阅读 · 2 评论 -
read of mingw: unknown error
C:\MinGW-4.7.1\include\fcntl.h#define _O_BINARY0x8000 /* Input and output is not translated. */http://www.ixpub.net/thread-1450177-1-1.htmld:\linux\linuxkernel\WORKING_DIRECTORY\android-om原创 2013-02-13 00:04:07 · 927 阅读 · 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 · 867 阅读 · 0 评论 -
g++ -v -g; gcc -g
http://cboard.cprogramming.com/tech-board/82071-mingw-linking-gui-program-2.htmlIf 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 · 2039 阅读 · 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 · 701 阅读 · 0 评论 -
open, ftruncate, mmap, stat
opensystem\core\init\property_service.candroid: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 · 1260 阅读 · 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 · 770 阅读 · 0 评论 -
How to use libraries compiled with MingW in MSVC?
http://stackoverflow.com/questions/2529770/how-to-use-libraries-compiled-with-mingw-in-msvchttp://blogs.msdn.com/b/vijay/archive/2009/10/02/what-is-name-decoration-or-name-mangling.aspxBased转载 2013-01-17 21:37:58 · 683 阅读 · 0 评论 -
icu4c-4_4_2 on mingw
http://apps.icu-project.org/icu-jsp/downloadPage.jsp?ver=4.4.1&base=chttp://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 · 2012 阅读 · 0 评论 -
make -d
make -d -d Print lots of debugging information.原创 2013-01-17 07:38:49 · 663 阅读 · 0 评论 -
Re: [Mingw-users] Linking with Windows VSSAPI.DLL
http://lists-archives.com/mingw-users/05372-linking-with-windows-vssapi-dll.htmlnotice this part:Many years ago, I had to interface to a third-party dll forwhich I simply couldn't manage to bui转载 2013-01-05 20:55:32 · 711 阅读 · 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 · 1307 阅读 · 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 · 981 阅读 · 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 · 970 阅读 · 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 · 854 阅读 · 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.zip2.build the sample in curl-7.28.1-devel-mingw32.zipMakefile.m32 is not working, so try th原创 2013-01-05 19:55:28 · 1563 阅读 · 0 评论 -
nest expression & Pyparsing
http://pyparsing.wikispaces.com/http://bbs.csdn.net/topics/330052586C++ boost "]*?|(?R))*>" str = ">sdaf>">>> from pyparsing import nestedExpr>>> data2 = " >d>">>> print nested原创 2014-07-31 06:13:03 · 1091 阅读 · 0 评论