Source-Changes archive

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

CVS commit: src/usr.bin/crunch/crunchgen



Module Name:    src
Committed By:   dsl
Date:           Sat Sep 25 20:43:47 UTC 2004

Modified Files:
        src/usr.bin/crunch/crunchgen: crunchgen.1 crunchgen.c

Log Message:
Change the way crunchgen works when doing 'reachover' builds.
Instead of trying to identify all the .o files that make each target rely
on the targets own Makefile having a program.ro target that will compile
all the objects and link them into a single relocatable.
Rename each program's 'main' to '_crunched_<prog>_stub' instead of compiling
a small piece of C.
The old behaviour can be forced by specifying -O, and is also done if the
config file specifies 'objs' or 'objpaths'.
As well as simplifying the logic, this means you only get a single 'prog.ro
is up to date' message for each program during the build.


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/usr.bin/crunch/crunchgen/crunchgen.1
cvs rdiff -r1.61 -r1.62 src/usr.bin/crunch/crunchgen/crunchgen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index