dmd.conf... again

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 12 08:54:54 PDT 2015


On Wednesday, 12 August 2015 at 15:49:37 UTC, Joakim Brännström 
wrote:
> From man ld :)

It's only there if you have a new enough ld for the feature to be 
supported!

One of the work CentOS VMs I have to use sometimes doesn't have 
it.

$ ld --version
GNU ld version 2.17.50.0.6-14.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
lol

$ man ld

        -larchive
        --library=archive
            Add archive file archive to the list of files to link. 
  This option
            may  be used any number of times.  ld will search its 
path-list for
            occurrences of "libarchive.a" for every archive 
specified.
            On systems which support shared libraries, ld may also 
  search  for
            libraries  with  extensions  other than ".a".  
Specifically, on ELF
            and SunOS systems, ld will search a directory for a 
library with an
            extension  of  ".so"  before searching for one with an 
extension of
            ".a".  By convention, a ".so" extension indicates a 
shared library.






More information about the Digitalmars-d-learn mailing list