www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - ? recls linking on Linux

reply Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

The linking of any test programm that uses Phobo's std.recls fails.

DMD: 0.106
GDC: 0.8
GCC: 3.4.3

fail:
    compile DMD, link GCC, DMD's Phobos
    compile DMD, link G++, DMD's Phobos
    compile GDC, link GCC, GDC's Phobos

inital pass:
    compile GDC, link G++, GDC's Phobos
    (results in a segfaulting test case)

Has anybody an idea how to solve this?

Thomas
Nov 22 2004
parent J C Calvarese <jcc7 cox.net> writes:
In article <oj2972-qn3.ln1 kuehne.cn>, Thomas Kuehne says...
--nextPart1547930.HyedIJIII4
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

The linking of any test programm that uses Phobo's std.recls fails.

DMD: 0.106

..
Has anybody an idea how to solve this?

I can't speak to the Linux or GCC situations, but in my experience on Windows the programs created with std.recls actually work, but a warning is produced in the linking phase. I reported the warning issue a while back and Matthew Wilson explained what he thought the problem and solution were: digitalmars.D.bugs/266 I suspect the same problem still exists. It's also possible that there's an additional problem for Linux. jcc7
Nov 22 2004