Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
June 15, 2006 Linking doesn' work under linux | ||||
---|---|---|---|---|
| ||||
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<----------------------------------------- |
June 15, 2006 Re: Build 3.01 (Linking doesn't work under linux) | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Ferenczi | 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<----------------------------------------- |
June 15, 2006 Re: Linking doesn' work under linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Ferenczi | 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 |
June 15, 2006 Re: Linking doesn' work under linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | 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. :(
>
|
June 17, 2006 Re: Linking doesn' work under linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Ferenczi | 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: > >> 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. :( >> > 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. |
Copyright © 1999-2021 by the D Language Foundation