Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 11, 2003 -L flag on linux (and dmd.conf) | ||||
---|---|---|---|---|
| ||||
The -L flag doesn't seem to work under linux. In my uni, I don't have permissions to write in /usr/lib, so I want ld to use libphobos.a from my lib directory, but -L doesn't do anything with -L. Talking about linux and permissions, I don't have permissions either to write in /etc, so I can't copy dmd.conf there. Could there be a way to specify where this file is? ------------------- Carlos Santander B. |
August 11, 2003 Re: -L flag on linux (and dmd.conf) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander | Until it does, you can separate the linking. I compile with the -c flag and then link with gcc. (thats what dmd does anyway) In article <bh89v8$17hb$1@digitaldaemon.com>, Carlos Santander says... > >The -L flag doesn't seem to work under linux. >In my uni, I don't have permissions to write in /usr/lib, so I want ld to use >libphobos.a from my lib directory, but -L doesn't do anything with -L. > >Talking about linux and permissions, I don't have permissions either to write in /etc, so I can't copy dmd.conf there. Could there be a way to specify where this file is? > >------------------- >Carlos Santander B. > > |
August 11, 2003 Re: -L flag on linux (and dmd.conf) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ant | "Ant" <Ant_member@pathlink.com> wrote in message news:bh8l7r$1k1l$1@digitaldaemon.com... | Until it does, you can separate the linking. | I compile with the -c flag and then link with gcc. | (thats what dmd does anyway) | ... and that's what I did, but it's not the desirable solution. ————————————————————————— Carlos Santander "Ant" <Ant_member@pathlink.com> wrote in message news:bh8l7r$1k1l$1@digitaldaemon.com... | Until it does, you can separate the linking. | I compile with the -c flag and then link with gcc. | (thats what dmd does anyway) | ... and that's what I did, but it's not the desirable solution. ————————————————————————— Carlos Santander |
August 16, 2003 Re: -L flag on linux (and dmd.conf) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander | "Carlos Santander" <Carlos_member@pathlink.com> wrote in message news:bh89v8$17hb$1@digitaldaemon.com... > The -L flag doesn't seem to work under linux. > In my uni, I don't have permissions to write in /usr/lib, so I want ld to use > libphobos.a from my lib directory, but -L doesn't do anything with -L. > > Talking about linux and permissions, I don't have permissions either to write in > /etc, so I can't copy dmd.conf there. Could there be a way to specify where this > file is? That's a good suggestion. |
Copyright © 1999-2021 by the D Language Foundation