Re: Building SDC from source

2014-07-27 Thread Stefan Koch via Digitalmars-d-learn
On Sunday, 27 July 2014 at 12:22:03 UTC, Stefan Koch wrote: On Sunday, 27 July 2014 at 12:16:05 UTC, Stefan Koch wrote: On Sunday, 27 July 2014 at 12:12:08 UTC, Stefan Koch wrote: do you use gdc ? then you have to use -lgphobos2 scratch that I wasn't looking :) sdc itself should not use

Re: Building SDC from source

2014-07-27 Thread Stefan Koch via Digitalmars-d-learn
On Sunday, 27 July 2014 at 14:08:42 UTC, Joseph Rushton Wakeling via Digitalmars-d-learn wrote: On 27/07/14 15:10, Dicebot via Digitalmars-d-learn wrote: Is shared Phobos library in /opt/dmd known do ldconfig? No, but isn't that what the -L flag should be passing to gcc? if gcc knows where

Re: Building SDC from source

2014-07-27 Thread Stefan Koch via Digitalmars-d-learn
On Sunday, 27 July 2014 at 15:00:26 UTC, Dicebot wrote: On Sunday, 27 July 2014 at 14:44:29 UTC, Joseph Rushton Wakeling via Digitalmars-d-learn wrote: Adding a dlang.conf file in /etc/ld.so.conf.d/ which adds the /opt/dmd/lib64 path solves things. One of many reasons why you don't usually

Re: Using D static library from C

2014-06-05 Thread Stefan Koch via Digitalmars-d-learn
You need to link the druntime too, I think.

Re: Using D static library from C

2014-06-05 Thread Stefan Koch via Digitalmars-d-learn
On Thursday, 5 June 2014 at 19:00:24 UTC, George Sapkin wrote: On Thursday, 5 June 2014 at 18:55:13 UTC, Stefan Koch wrote: You need to link the druntime too, I think. At which stage? Can you provide a full command? Thanks. Err ... I just remeberd linking d with gcc needs a few libs

Re: Writing to file problem (Kernelbase exeption)

2014-06-05 Thread Stefan Koch via Digitalmars-d-learn
config_file needs to be the string not a struct File .

<    1   2   3   4