www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - File /etc/rebuild/ tango-posix-dmd

reply Ty Tower <tytower hotmail.com.au> writes:
I find in the above file a reference to phobos which possibly should not be
there. 

The file is used as the unix choice default file for /etc/rebuild/default
Or at least thats what I think happens.

it has this in it

[link]
oneatatime=yes
cmd=dmd -L--start-group -lphobos $i -of$o

This is causing a conflict here and I have tried the following but something is
still not right 


[link]
oneatatime=yes
cmd=dmd -L--start-group -L-ltango-base-dmd -L-ltango-user-dmd -L--end-group $i
-of$o
  Can anybody spot the problem or the solution ?
Is the phobos reference correct here?
Feb 20 2008
parent reply Ty Tower <tytower hotmail.com.au> writes:
Ok I removed it and the line goes like this

cmd=dmd  $i -of$o

Did this and the bloody thing compiled instantly
So much for the advice here hey!
Not worth 2 bob
Feb 21 2008
parent reply John Reimer <terminal.node gmail.com> writes:
Ty Tower wrote:
 Ok I removed it and the line goes like this
 
 cmd=dmd  $i -of$o
 
 Did this and the bloody thing compiled instantly
 So much for the advice here hey!
 Not worth 2 bob
The advice here is for dwt... not dsss, not tango. If you get help with that, bonus for you. Concerning the phobos entry in tango-posix-dmd, earlier versions of the compiled tango core library had to be renamed libphobos.a because of a compiler limitation. More recent versions of the dmd compiler added a switch that allowed one to identify a core library of a different name with the "-defaultlib" switch. So naming it phobos above was and still is a valid install, as long as you have actually installed tango this way. Furthermore, you've shown in another post that there were problems that were completely unrelated to dwt but rather were due to faults in your installation and system. Throughout your many posts, you were wrong to assume that it was the fault of this forum or of the members that were trying to help. Your reactions of disgust and rudeness were also wrong. The fact that those who responded to your posts answered so graciously is quite amazing. -JJR
Feb 21 2008
parent reply Ty Tower <tytower hotmail.com.au> writes:
John Reimer Wrote:

 Ty Tower wrote:
 Ok I removed it and the line goes like this
 
 cmd=dmd  $i -of$o
 
 Did this and the bloody thing compiled instantly
 So much for the advice here hey!
 Not worth 2 bob
The advice here is for dwt... not dsss, not tango. If you get help with that, bonus for you. Concerning the phobos entry in tango-posix-dmd, earlier versions of the compiled tango core library had to be renamed libphobos.a because of a compiler limitation. More recent versions of the dmd compiler added a switch that allowed one to identify a core library of a different name with the "-defaultlib" switch. So naming it phobos above was and still is a valid install, as long as you have actually installed tango this way. Furthermore, you've shown in another post that there were problems that were completely unrelated to dwt but rather were due to faults in your installation and system. Throughout your many posts, you were wrong to assume that it was the fault of this forum or of the members that were trying to help. Your reactions of disgust and rudeness were also wrong. The fact that those who responded to your posts answered so graciously is quite amazing. -JJR
You will deny it to the last breath The switch is wrong and must be changed --that means it is not right John ! Jesse's posts were ,as far as I looked into each answer, also wrong and misleading the one relating to -lXdamage for instance. He made the statement "one problem leads to another "under his rant. That was wrong - the libraries wern't as they should be admittedly but the post was totally misleading . If you can't stand criticism and constructive criticism at that then don't post
Feb 21 2008
parent reply John Reimer <terminal.node gmail.com> writes:
Ty Tower wrote:

 You will deny it to the last breath
 The switch is wrong and must be changed --that means it is not right John !
 
You don't know me, Ty, so please don't make assumptions as to what I will or will not do. What I said there is that the switch has a reason for its existence. Depending on how you installed Tango, it is either correct or incorrect. Incidentally, it is correct for my tango installation because I still rename the tango lib as Phobos (I ran into problems when I used the "defaultlib" switch). So, your statement remains quite presumptuous and reactively dogmatic.
 Jesse's posts were ,as far as I looked into each answer, also wrong and
misleading
 the one relating to -lXdamage for instance. He made the statement "one problem
leads to another "under his rant. That was wrong - the libraries wern't as they
should be admittedly but the post was totally misleading .
 
If that is the case, I have to say that yours were more so.
 If you can't stand criticism and constructive criticism at that then don't post
That would be good advice for both of us perhaps? You appear to be responding quite poorly to constructive criticism. We both appear to like calling a spade a spade... but you appear to be entirely unreceptive, and, in fact, quite inflammatory to the merest suggestion that you might be wrong. Wouldn't we both get further with each other with more gracious responses? You know I've already admitted the shortcomings of dwt project instructions... we've gone out of our way to rectify the situation (thanks to Jacob's contribution we're moving in the right direction), so I'd say we have been moderately responsive to constructive criticism despite everybody's excessively busy schedules. -JJR
Feb 21 2008
parent reply Ty Tower <tytower hotmail.com.au> writes:
John Reimer Wrote:
 You don't know me, Ty, so please don't make assumptions as to what I 
 will or will not do.  What I said there is that the switch has a reason 
 for its existence.  Depending on how you installed Tango, it is either 
 correct or incorrect.
 
 Incidentally, it is correct for my tango installation because I still 
 rename the tango lib as Phobos (I ran into problems when I used the 
 "defaultlib" switch). So, your statement remains quite presumptuous and 
   reactively dogmatic.
 
garbage again -the latest install does not and did not tell me to rename Tango to Phobos and neither did you . You could have suggested that . You didn't I don't care much merely make the point
 
 Jesse's posts were ,as far as I looked into each answer, also wrong and
misleading
 the one relating to -lXdamage for instance. He made the statement "one problem
leads to another "under his rant. That was wrong - the libraries wern't as they
should be admittedly but the post was totally misleading .
 
If that is the case, I have to say that yours were more so.
I am the newbie asking the questions . I am allowed to be wrong thats what the posts are for and I admit readily to my errors , you and he obviously do not
 
 If you can't stand criticism and constructive criticism at that then don't post
That would be good advice for both of us perhaps? You appear to be responding quite poorly to constructive criticism. We both appear to like calling a spade a spade... but you appear to be entirely unreceptive, and, in fact, quite inflammatory to the merest suggestion that you might be wrong. Wouldn't we both get further with each other with more gracious responses?
Thats garbage John-I readilly admit my mistakes and there have been a few here You want gracious responses go practice in a poofs bar mate- there's plenty in Melb no?
 You know I've already admitted the shortcomings of dwt project 
 instructions... we've gone out of our way to rectify the situation 
 (thanks to Jacob's contribution we're moving in the right direction), so 
 I'd say we have been moderately responsive to constructive criticism 
 despite everybody's excessively busy schedules.
 
 -JJR
Well I didn't get much real help looking back at what the problems really were and I hoped that by pasting the compilers output I might get a hand from experienced people with this particular dwt. I still have a problem with the custom control examples which no one has answered and I am assuming there aren't many knowledgeable people available on here. I know now and knew then there would be some problems with dwt. Fully expected that ,but I said before you must give some priority now to getting a clear install page for both windows and unix. If someone has a go at me John they are going to get some back quick smart. Just the way I am. I have been downloading and installing what was new stuff for me in D , dsss and dwt/dwtexamples. Ive been trying to get it installed for near 3 weeks and have not got to the end of it yet. At least I'm close. If I were developing this I would be asking for as much feedback as possible regardless of content , at least till I got it running.
Feb 22 2008
parent reply John Reimer <terminal.node gmail.com> writes:
Ty Tower wrote:
 John Reimer Wrote:
 You don't know me, Ty, so please don't make assumptions as to what I 
 will or will not do.  What I said there is that the switch has a reason 
 for its existence.  Depending on how you installed Tango, it is either 
 correct or incorrect.

 Incidentally, it is correct for my tango installation because I still 
 rename the tango lib as Phobos (I ran into problems when I used the 
 "defaultlib" switch). So, your statement remains quite presumptuous and 
   reactively dogmatic.
garbage again -the latest install does not and did not tell me to rename Tango to Phobos and neither did you . You could have suggested that . You didn't I don't care much merely make the point
 Jesse's posts were ,as far as I looked into each answer, also wrong and
misleading
 the one relating to -lXdamage for instance. He made the statement "one problem
leads to another "under his rant. That was wrong - the libraries wern't as they
should be admittedly but the post was totally misleading .
If that is the case, I have to say that yours were more so.
I am the newbie asking the questions . I am allowed to be wrong thats what the posts are for and I admit readily to my errors , you and he obviously do not
 If you can't stand criticism and constructive criticism at that then don't post
That would be good advice for both of us perhaps? You appear to be responding quite poorly to constructive criticism. We both appear to like calling a spade a spade... but you appear to be entirely unreceptive, and, in fact, quite inflammatory to the merest suggestion that you might be wrong. Wouldn't we both get further with each other with more gracious responses?
Thats garbage John-I readilly admit my mistakes and there have been a few here You want gracious responses go practice in a poofs bar mate- there's plenty in Melb no?
 You know I've already admitted the shortcomings of dwt project 
 instructions... we've gone out of our way to rectify the situation 
 (thanks to Jacob's contribution we're moving in the right direction), so 
 I'd say we have been moderately responsive to constructive criticism 
 despite everybody's excessively busy schedules.

 -JJR
Well I didn't get much real help looking back at what the problems really were and I hoped that by pasting the compilers output I might get a hand from experienced people with this particular dwt. I still have a problem with the custom control examples which no one has answered and I am assuming there aren't many knowledgeable people available on here. I know now and knew then there would be some problems with dwt. Fully expected that ,but I said before you must give some priority now to getting a clear install page for both windows and unix. If someone has a go at me John they are going to get some back quick smart. Just the way I am. I have been downloading and installing what was new stuff for me in D , dsss and dwt/dwtexamples. Ive been trying to get it installed for near 3 weeks and have not got to the end of it yet. At least I'm close. If I were developing this I would be asking for as much feedback as possible regardless of content , at least till I got it running.
Fair enough... you are not one to be reasoned with. I will no longer try. -JJR
Feb 22 2008
parent Ty Tower <tytower hotmail.com.au> writes:
Depends on your reasoning 
Feb 22 2008