Re: A good open-source source version control system?

2005-05-04 Thread Andre Poenitz
Randy Yates <[EMAIL PROTECTED]> wrote: > Thanks for the suggestion, Karl. I have installed svn and TortoiseSvn. > There are a few things I don't care for in the version control system, > for example, the possibility of a file change versions when it hasn't > changed, the way the directory structure

Re: Writing a simple make file?

2005-08-20 Thread Andre Poenitz
[EMAIL PROTECTED] wrote: > I suppose I have to move the object file at the end of target "%.o" to > the "build" directory, but I don't know how. Try # # Variables # PROGRAM = program.bin CXX = c++ SOURCES = $(shell ls src/*.cpp) OBJECTS = $(SOURCES:src/%.cpp=build/%.

Re: like grep

2005-08-20 Thread Andre Poenitz
[EMAIL PROTECTED] wrote: > Hello, > > I'm looking for utility which allows to find all lines inside file > with selected pattern at the selected place (from pos1 to pos2) grep '^.\{20}FOO' finds all lines containing 'FOO' at positions 21-23. Andre' ___

Re: generate date sequences

2005-10-31 Thread Andre Poenitz
Colin S. Miller <[EMAIL PROTECTED]> wrote: > for (( a=0 ; $a \< 10 ; a++ )) ;do date -d "5 april 2005 $a days";done > Tue Apr 5 00:00:00 BST 2005 > [...] Nice trick, that '$a days' thing. The preamble could have been a bit shorter, though: seq 10 | while read a; do date -d "5 april 2005 $a day

Re: Install gcc without gcc

2006-01-21 Thread Andre Poenitz
TBlittlefoot <[EMAIL PROTECTED]> wrote: > What if you _had_ to install it from source on the box in front > of you? Then you need another C compiler. > Seems like if you had the assembly code you could do > something like enter the machine language for a basic assembler > and build it from there

Re: Install gcc without gcc

2006-01-25 Thread Andre Poenitz
TBlittlefoot <[EMAIL PROTECTED]> wrote: >> Given that most of gcc is written in C, an assembler alone >> would not be sufficient. > > You can convert the C to assembly language for a particular architecture > with gcc itself, and then make that available on an FTP site (if it > isn't already). Bu

GNU make, multiple runs

2006-12-18 Thread Andre Poenitz
I want a Makefile that will on invocation by make Types=a,b,c Foo=x foo 'recursively' call make Type=a Foo=x foo make Type=b Foo=x foo make Type=c Foo=x foo So far I have: ifneq ($(Types),) Komma:=, MakeFlags:=