Hi all,I test the helloworld program but failed with using lld.
My OS is windows xp
Compiling is OK,either clang++ or g++.
g++ hello.cpp -c
or clang++ -stdlib=libc++ hello.cpp -c
I failed with using lld 
d:\mingw32\hello>lld -flavor gnu d:\mingw32\i686-w64-mingw32\lib\crt2.o 
d:\mingw32\i686-w64-mingw32\lib\crtbegin.o  hello.o -lstdc++ -lmingw32 -lgcc_s 
-lgcc -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 
-lkernel32 -liconv -Ld:\mingw32\lib\gcc\i686-w64-mingw32\5.3.0 
-Ld:\mingw32\i686-w64-mingw32\lib d:\mingw32\i686-w64-mingw32\lib\crtend.o


I got 
0x00e1512d (0x03aca0a0 0x03aca0a0 0x00000001 0x03ac7178)
 
If I replaced lld with ld,all is OK.
Did I do anything wrong?
Thanks.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to