View previous topic :: View next topic |
Author |
Message |
.::]|DEAD|[::.Screamer
Joined: 06 Dec 2006 Posts: 10
|
Posted: Tue Dec 19, 2006 3:36 pm Post subject: compiling Derelict with bud+gdc into .a |
|
|
Bud ignore same settings in his cfg file like LibExtension and ObjExtension, gdc compile source into .o object files, but bud link .obj files, .obj files of course dasnt exist, Maybe its my problem, maybe is problem in bud, I search in source code of bud and I found this:
Code: |
//file source.d
...
//line 114
//there is maybe the problem, but its constant and dont override from build.d
const {
version(Windows) {
string ExeExt=`exe`;
string LibExt=`lib`;
string ObjExt=`obj`;
}
version(Posix) {
string ExeExt=``;
string LibExt=`a`;
string ObjExt=`o`;
}
...
|
Sorry for my bad english and maybe attack pose. |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Tue Dec 19, 2006 5:49 pm Post subject: Re: compiling Derelict with bud+gdc into .a |
|
|
.::]|DEAD|[::.Screamer wrote: | Bud ignore same settings in his cfg file like LibExtension and ObjExtension, gdc compile source into .o object files, but bud link .obj files, .obj files of course dasnt exist, Maybe its my problem, maybe is problem in bud, I search in source code of bud and I found this:
Code: |
//file source.d
...
//line 114
//there is maybe the problem, but its constant and dont override from build.d
const {
version(Windows) {
string ExeExt=`exe`;
string LibExt=`lib`;
string ObjExt=`obj`;
}
version(Posix) {
string ExeExt=``;
string LibExt=`a`;
string ObjExt=`o`;
}
...
|
Sorry for my bad english and maybe attack pose. |
It looks like you are using an old version of the tool. The current version has these lines as ...
Code: |
// --------- internal strings ----------------
version(Windows) {
string vExeExtension=`exe`;
string vLibExtension=`lib`;
string vObjExtension=`obj`;
string vShrLibExtension=`dll`;
string vLinkerStdOut = ">nul";
}
version(Posix) {
string vExeExtension=``;
string vLibExtension=`a`;
string vObjExtension=`o`;
string vShrLibExtension=`so`;
string vLinkerStdOut = ">/dev/null";
}
|
I suggest you download the latest version and retry it. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
.::]|DEAD|[::.Screamer
Joined: 06 Dec 2006 Posts: 10
|
Posted: Wed Dec 20, 2006 1:43 am Post subject: |
|
|
I have latest version (3.04), but in `source.d` at line 114 is code, what I write here, code, what You write here is in `build.d` at line 102 no? |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Wed Dec 20, 2006 3:26 pm Post subject: |
|
|
.::]|DEAD|[::.Screamer wrote: | I have latest version (3.04), but in `source.d` at line 114 is code, what I write here, code, what You write here is in `build.d` at line 102 no? |
Yes!
I was not looking at source.d at all. You have found a bug that has been annoying me for awhile now - thank you. The fix is on its way. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|