cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Possible error in dependency checking a lots of other points


From: Nadim Khemir
Subject: RE: Possible error in dependency checking a lots of other points
Date: Wed, 23 Jan 2002 18:12:44 +0100

> What do you get if you put b=c in quotes?  Does that make cygwin
> recognize it as a single argument?

No that's the problem, I gave an example of how to fix it (using quotes and
spaces):

$cons.bat -f construct.cons release 'project = hugin'

This works if the folowing is done
> > You can change line 436 in version 2.3.0 to:
> > my($var, $val) = /([^=\s]*)\s*=\s*(.*)/;

> > *** documentation
>
> Okay, I'll give you a different useless answer:  Hire someone to write
> Cons documentation.  I'll bet someone on the list would be
> willing to do more if it wasn't a volunteer effort.
>
That's very unfair. I look at cons, I try to give some of my efforts and
I think many other would do that. I would do that (a cookbook) but I need
to understand cons more first.

Now If a design document is available,
I'd love to look at it (doesn't have to be fancy) to get a grip on how
things
work without swallowing 3000 lines of code.

> > *** documentation
> >     I think there is a bad example in the documentation. I quote:
> >
> >     Repository derived files
>  ......
>
> I don't understand your point about "CVS guys."
Do you want to use cvs on a directory where source an binary are mixed?

> Like any feature, there are different ways of using Repository, with
> different degrees of effectiveness.  YMMV.  That doesn't necessarily
> make it wrong for other people's build procedures.  For
> example, suppose there's a policy that all builds are performed locally,
> on non-shared disks, not directly on a centrally-accessible server.
>
Sure, but I still think it's a bad example. Isn't it better to show a clean
way
of building things. If such a policy exists it's flawed.
You did not answer my question, Is the way I propose possible (if not
right).

> > *** Link and Repository
> >       These should work together (that's what is advertised) but I
> > can't get it right. Does any one have a working example? please.
>
> What have you tried?  Again, the model is, use Link() to do your
> variants within a single build tree.  Then use Repository()
> to establish
> that Cons can fetch things from another already-built tree.
I tryed and it did not work. I'll do more tests and if I feel I didn't
do anything wrong and don't get the right result, I will mail a descriptive
report.

> In the Windows world, how do you go about picking a suffix
> that you know doesn't conflict with a suffix some other application is
using?
>
1/ dump a registry info about the extension
2/ very few 4+ extensions are used today
   I counter 35 out of 700 on my computer and 3 are mine.

3/ if you use visual stuff provided by M$ you can see what extension are
   already used (windows explorer/Tools/Folder options/FilesT types)

?? do you want the user to have the possibility to choose the extension or
do
you want snap an extension. (I vote for .cons)

>> I'll write the damn 5 lines
> Thanks for the cooperative attitude.
>
Welcome, I love perl and think cons IS the way to do things. If get inside
the workings
you can count on more than 5 lines code.

> > *** A minor point
> > I'll look at something like this if you stop putting
> more than 80 characters on a line.
:-) in 2002 printer can print more thant 80 characters, but you got a point
line length
should be limited.

> It's more viable to do the whole thing with all spaces, no tabs.
> Otherwise, you push the indentation way way out when using standard
> 8-space stops.  Telling everyone to solve this by setting their editor
> to 4-space stops loses because people will end up looking at lots of
> *other* text that still intermixes spaces and tabs.
>
> You can't solve this problem by trying to pretend that an 8-space stop
> isn't the norm.

8-space stop is NOT the norm amont ALL the devloppers I know. Try the system
I proposed you'll love it.
I will simply run cons through a filter before I use it.

>       How does one assemble files (Win32)?
>What do you mean by "assemble?"

.s files to .o(bj)

the unix cons object has an AS command but not the Win32 one. Is there a
difference
in processing




reply via email to

[Prev in Thread] Current Thread [Next in Thread]