July 27, 2014
On 27/07/14 16:20, Stefan Koch via Digitalmars-d-learn wrote:
> if gcc knows where the lib is it can compile agianst it.
> But the library beeing _shared_ will not be linked with the executable but the
> library will be loaded form the path's supplied as LD_PATH or in ldconfig.
> The -L flag does not change the library-loader in any way (I think).

Damn, I just realized I was misreading the messages.  The gcc build is now succeeding -- it's the calls to bin/sdc that are failing.

Adding a dlang.conf file in /etc/ld.so.conf.d/ which adds the /opt/dmd/lib64 path solves things.
July 27, 2014
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 want to circumvent package management system ;)
July 27, 2014
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 want to circumvent package management system ;)

yeah
dub.jsons for sdc,libd,and llvm-libd are nice but I don't really know how these submodule-thingy works with dub
August 02, 2014
On Sunday, 27 July 2014 at 15:15:05 UTC, Stefan Koch wrote:
> 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 want to circumvent package management system ;)
>
> yeah
> dub.jsons for sdc,libd,and llvm-libd are nice but I don't really know how these submodule-thingy works with dub

UPDATE my fork https://github.com/UplinkCoder/sdc32-experimental has weak support for beeing build with dub
its much much faster then the makefiles
though i still need to integrade libsdrt and polish it
1 2
Next ›   Last »