Re: how to use cons with other lang's than c/c++

[email protected] Tue, 5 Oct 2004 17:19:10 -0700
Newsgroups gmane.comp.gnu.cons.general
Message-ID <OFCC217A53.AEB409EF-ON85256F25.00003F5C-88256F25.0001DD36@philips.com>
This is a multipart message in MIME format.
--===============1859091012==
Content-Type: multipart/alternative;
	boundary="=_alternative 0001DD3288256F25_="

This is a multipart message in MIME format.
--=_alternative 0001DD3288256F25_=
Content-Type: text/plain; charset="us-ascii"

Ronny,

Here at Philips Medical we do use Cons::Plus, but it isn't really helping 
that much in the area of adding build rules.  We then inherit Cons::Plus 
into our own Cons::DSProject, which is for DevStudio.  We have solved all 
problems through inheritance, at least so far. 

What I've noticed is that yes you can add new build rules, but it does not 
add to the dependency scanning.  To do that you need to run each of your 
files through the Command method and add a call to the QuickScan method as 
well, and this means do not use Cons::Plus to add your extensions.  Be 
aware that dependency scanning of include in Cons is using the Gnu model 
rather than the Microsoft model, which is different when quoted includes 
are used.

If I were to use Cons again, from scratch, I would use only the Command 
and QuickScan methods.  I've been telling my managers for a long time that 
I need to rewrite Cons into something much simpler.

On the plus side, welcome to Cons, I have issues with it sometimes, but it 
has been a tremendous success here, and we have found nothing yet that we 
would want to replace it with.  Our build times and reliability are much 
improved, especially in the area of incremental builds.

Oh, as a note, SCons is not being considered here because it is in Python. 
 I do have some of our developers pushing for and experimenting with PCons 
though for multi-process building.

---
Rick Croote
Software Engineer
Environment and Tools Team
Philips Medical Systems
Bothell, WA
[email protected]
Phone: 425-487-7834










Malcolm Blaney <[email protected]>
Sent by: 
[email protected]
10/04/2004 08:15 PM

 
        To:     Ronny Pfannschmidt <[email protected]>
        cc:     [email protected]
(bcc: Rick Croote/ATL-BTL/MS/PHILIPS)
        Subject:        Re: how to use cons with other lang's than c/c++
        Classification: 




Hi Ronny,

Cons::Plus will help,
http://lists.gnu.org/archive/html/cons-discuss/2001-04/msg00008.html

but SCons has it built in from scratch if you want to use python.

Malcolm.

Ronny Pfannschmidt wrote:
> i want to use cons for a project written in c, pascal and asm
> but i can't find a way to use cons for languages aside from c/c++
> 
> mfg r0nny
> 
> 
> _______________________________________________
> [email protected]
> http://lists.gnu.org/mailman/listinfo/cons-discuss
> Cons URL: http://www.dsmit.com/cons/


_______________________________________________
[email protected]
http://lists.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/



--=_alternative 0001DD3288256F25_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Ronny,</font>
<br>
<br><font size=2 face="sans-serif">Here at Philips Medical we do use Cons::Plus, but it isn't really helping that much in the area of adding build rules. &nbsp;We then inherit Cons::Plus into our own Cons::DSProject, which is for DevStudio. &nbsp;We have solved all problems through inheritance, at least so far. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">What I've noticed is that yes you can add new build rules, but it does not add to the dependency scanning. &nbsp;To do that you need to run each of your files through the Command method and add a call to the QuickScan method as well, and this means do not use Cons::Plus to add your extensions. &nbsp;Be aware that dependency scanning of include in Cons is using the Gnu model rather than the Microsoft model, which is different when quoted includes are used.</font>
<br>
<br><font size=2 face="sans-serif">If I were to use Cons again, from scratch, I would use only the Command and QuickScan methods. &nbsp;I've been telling my managers for a long time that I need to rewrite Cons into something much simpler.</font>
<br>
<br><font size=2 face="sans-serif">On the plus side, welcome to Cons, I have issues with it sometimes, but it has been a tremendous success here, and we have found nothing yet that we would want to replace it with. &nbsp;Our build times and reliability are much improved, especially in the area of incremental builds.</font>
<br>
<br><font size=2 face="sans-serif">Oh, as a note, SCons is not being considered here because it is in Python. &nbsp;I do have some of our developers pushing for and experimenting with PCons though for multi-process building.</font>
<br><font size=2 face="sans-serif"><br>
---<br>
Rick Croote<br>
Software Engineer<br>
Environment and Tools Team<br>
Philips Medical Systems<br>
Bothell, WA<br>
[email protected]<br>
Phone: 425-487-7834<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td>
<br>
<br>
<br>
<br>
<br><font size=1 face="sans-serif"><b>Malcolm Blaney &lt;[email protected]&gt;</b></font>
<p><font size=1 face="sans-serif">Sent by: </font>
<br><font size=1 face="sans-serif">[email protected]</font>
<p><font size=1 face="sans-serif">10/04/2004 08:15 PM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;Ronny Pfannschmidt &lt;[email protected]&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;[email protected]<br>
(bcc: Rick Croote/ATL-BTL/MS/PHILIPS)</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: how to use cons with other lang's than c/c++</font>
<p><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Classification: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br>
<br></table>
<br>
<br>
<br><font size=2 face="Courier New">Hi Ronny,<br>
<br>
Cons::Plus will help,<br>
http://lists.gnu.org/archive/html/cons-discuss/2001-04/msg00008.html<br>
<br>
but SCons has it built in from scratch if you want to use python.<br>
<br>
Malcolm.<br>
<br>
Ronny Pfannschmidt wrote:<br>
&gt; i want to use cons for a project written in c, pascal and asm<br>
&gt; but i can't find a way to use cons for languages aside from c/c++<br>
&gt; <br>
&gt; mfg r0nny<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; [email protected]<br>
&gt; http://lists.gnu.org/mailman/listinfo/cons-discuss<br>
&gt; Cons URL: http://www.dsmit.com/cons/<br>
<br>
<br>
_______________________________________________<br>
[email protected]<br>
http://lists.gnu.org/mailman/listinfo/cons-discuss<br>
Cons URL: http://www.dsmit.com/cons/<br>
</font>
<br>
<br>
--=_alternative 0001DD3288256F25_=--



--===============1859091012==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
[email protected]
http://lists.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/
--===============1859091012==--