2015-05-18
-
发件人:zhangxinghai
发送日期:2015-05-18 08:39
收件人:zhangxinghai
抄送:mingw-w64-public
主题:Re: [Mingw-w64-public] how to use ld.gold as the linker?
Mm
I have some another questions
1.As the ld.gold only supports elf format,why it is
On May 17, 2015 8:40 PM, "zhangxinghai" wrote:
>
> Mm
> I have some another questions
>
> 1.As the ld.gold only supports elf format,why it is included in the
binutils for build target windows?Does that mean I will never touch this
tool under windows.
It should not be included in a tool chain targ
Mm
I have some another questions
1.As the ld.gold only supports elf format,why it is included in the binutils
for build target windows?Does that mean I will never touch this tool under
windows.
2.As the compile/link speed is so slow under windows,I hope to speed it up.Can
I use the cross compi
AFAIK, ld.gold is designed to output only ELF [1] binaries (and the
specialization is what makes it superior to GNU ld when outputting ELF),
while Windows use PE [2] binaries.
So you cannot.
[1] https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
[2] https://en.wikipedia.org/wiki/Por
Hi,all
My OS is xp sp3
I used the i686-4.9.2-release-posix-dwarf-rt_v4-rev2.7z build from site
http://sourceforge.net/projects/mingw-w64
I write a helloworld.cpp program
#include
#include
int main()
{
int i1=1,i2=2;
int sum = i1 + i2;
printf("%d\n",sum);
return 0;
}
when I use g++ -o hello.exe h