digitalmars.D.announce - Linking doesn' work under linux
- David Ferenczi (22/22) Jun 15 2006 First of all, thank you for the new release.
- David Ferenczi (3/32) Jun 15 2006 kludge.o,application.o,game.o,searchengine.o,board.o,-ofkludge,-lc,-lpho...
- Derek Parnell (8/12) Jun 15 2006 Thanks. I'm working on this tonight. The major change from 2.09 is to ha...
- David Ferenczi (3/16) Jun 15 2006 Thank you very much for your quick answer. Please let me know if I can
- Xebes (4/20) Jun 17 2006 I had the same problem. The cause seems to be the commas. I replaced the...
First of all, thank you for the new release. The version 2.09 works smoothly, but any later version I tried didn't work for me. With the version 3.01 calling the command util/build src/kludge.d -debug -g -odobj/debug -ofkludgedebug -unittest -w I get the following error message: -----------8<----------------------------------------- gcc: ob: No such file or directory gcc: /debug/src/kludge.o,obj/debug/src/application.o,obj/debug/src/game.o,obj/debug/src/searchengine.o,obj/debug/src/board.o,-ofkludgedebug,-lc,-lphobos,-lm,/co: No such file or directory gcc: no input files -----------8<----------------------------------------- The object files are generated, but linking doesn't work. The paths listed above are appareantly false, since "src" is added to them. I also tried with a simpler configuration (everything is in the same folder). The result: -----------8<----------------------------------------- gcc: kludge.o,application.o,game.o,searchengine.o,board.o,-ofkludge,-lc,-lphobos,-lm,: No such file or directory gcc: no input files -----------8<-----------------------------------------
Jun 15 2006
Sorry, it was intended to be a reply for Build 3,01 announcment. David Ferenczi wrote:First of all, thank you for the new release. The version 2.09 works smoothly, but any later version I tried didn't work for me. With the version 3.01 calling the command util/build src/kludge.d -debug -g -odobj/debug -ofkludgedebug -unittest -w I get the following error message: -----------8<----------------------------------------- gcc: ob: No such file or directory gcc: /debug/src/kludge.o,obj/debug/src/application.o,obj/debug/src/game.o,obj/debug/src/searchengine.o,obj/debug/src/board.o,-ofkludgedebug,-lc,-lphobos,-lm,/co: No such file or directory gcc: no input files -----------8<----------------------------------------- The object files are generated, but linking doesn't work. The paths listed above are appareantly false, since "src" is added to them. I also tried with a simpler configuration (everything is in the same folder). The result: -----------8<----------------------------------------- gcc:kludge.o,application.o,game.o,searchengine.o,board.o,-ofkludge,-lc,-lphobos,-lm,:No such file or directory gcc: no input files -----------8<-----------------------------------------
Jun 15 2006
On Thu, 15 Jun 2006 18:42:26 +1000, David Ferenczi <raggae ferenczi.net> wrote:First of all, thank you for the new release. The version 2.09 works smoothly, but any later version I tried didn't work for me.Thanks. I'm working on this tonight. The major change from 2.09 is to have the linker as a separate step from the compiler. And I don't have gcc so I guessed at some of the requirements and got them wrong. Sorry. :( -- Derek Parnell Melbourne, Australia
Jun 15 2006
Thank you very much for your quick answer. Please let me know if I can contribute to the source, help testing, etc. Derek Parnell wrote:On Thu, 15 Jun 2006 18:42:26 +1000, David Ferenczi <raggae ferenczi.net> wrote:First of all, thank you for the new release. The version 2.09 works smoothly, but any later version I tried didn't work for me.Thanks. I'm working on this tonight. The major change from 2.09 is to have the linker as a separate step from the compiler. And I don't have gcc so I guessed at some of the requirements and got them wrong. Sorry. :(
Jun 15 2006
In article <e6rbf0$13vc$1 digitaldaemon.com>, David Ferenczi says...Thank you very much for your quick answer. Please let me know if I can contribute to the source, help testing, etc. Derek Parnell wrote:I had the same problem. The cause seems to be the commas. I replaced the comma in line 1445 of build.d with a whitespace and inserted LINKSWITCH=-lpthread in build.cfg. Then it worked for me with a simple hello world program.On Thu, 15 Jun 2006 18:42:26 +1000, David Ferenczi <raggae ferenczi.net> wrote:First of all, thank you for the new release. The version 2.09 works smoothly, but any later version I tried didn't work for me.Thanks. I'm working on this tonight. The major change from 2.09 is to have the linker as a separate step from the compiler. And I don't have gcc so I guessed at some of the requirements and got them wrong. Sorry. :(
Jun 17 2006