DMD 1.031 and 2.015 releases
Don
nospam at nospam.com.au
Thu Jun 19 00:22:27 PDT 2008
Frank Benoit wrote:
> Walter Bright schrieb:
>> Some new stuff to make writing templates easier.
>>
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.031.zip
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>> http://ftp.digitalmars.com/dmd.2.015.zip
>
> What effect has -fPIC to code?
> When do i use -fPIC?
> What is a situation, where the version D_PIC is useful in the source code?
It was requested by me. When fPIC is enabled, if you are writing inline
asm, you can't access any global values (including constants). So you
need to do some slow, ugly workarounds. It's a big problem for SSE code
which doesn't have any immediate instructions. You can't even load the
value 1 into a register!
More information about the Digitalmars-d-announce
mailing list