On Sunday, 21 February 2016 at 22:53:17 UTC, anonymous wrote:
On 21.02.2016 22:51, kraxli wrote:
Great this all works and good to know that D links as basic
gcc/llvm link. Thanks a lot to everybody - very helpful!
On 21.02.2016 22:51, kraxli wrote:
On Sunday, 21 February 2016 at 21:35:55 UTC, anonymous wrote:
[...]
a) do it the linker way: `dmd -L-L~/.dub/packages/consoled-1.0.0/
-L-lconsoled ...`, or
b) do it the dmd way: `dmd
~/.dub/packages/consoled-1.0.0/libconsoled.a ...`.
b) works! :-) Many
On Sunday, 21 February 2016 at 21:51:27 UTC, kraxli wrote:
a) doesn't work, I need to search for more information on
linking as I would like to understand these kind of basics in D
:-). The books I consulted so far (Learn D and D cookbook) did
not help me to understand the linking so far ...
On Sunday, 21 February 2016 at 21:35:55 UTC, anonymous wrote:
On Sunday, 21 February 2016 at 21:21:30 UTC, kraxli wrote:
Thanks for coming back on that! The problem is the
consoled-package which has the library:
~/.dub/packages/consoled-1.0.0/libconsoled.a
So I link it (or aim to do it ;-) )
On Sunday, 21 February 2016 at 21:21:30 UTC, kraxli wrote:
Thanks for coming back on that! The problem is the
consoled-package which has the library:
~/.dub/packages/consoled-1.0.0/libconsoled.a
So I link it (or aim to do it ;-) ) but dmd cannot find it:
$ dmd
On Sunday, 21 February 2016 at 20:50:11 UTC, anonymous wrote:
On Sunday, 21 February 2016 at 20:04:34 UTC, kraxli wrote:
What is going on here and what is the difference between dmd
and rdmd?
dmd compiles the modules that you specify on the command line.
By default, it then links an
On Sunday, 21 February 2016 at 20:04:34 UTC, kraxli wrote:
What is going on here and what is the difference between dmd
and rdmd?
dmd compiles the modules that you specify on the command line. By
default, it then links an executable from the generated object
files. The linking can only work
I have problems with compiling a very simple program which loads
a couple of modules/functions (which I would like to use later
on).
rdmd -I~/.dub/packages/consoled-1.0.0/source/ appX.d
runs great :-) and also dub runs works.
But dmd only returns:
ยดยดยด
$ dmd