Subject: Re: crunchgen, /rescue, PATH, and tar z
To: Jeremy C. Reed <>
From: Jachym Holecek <>
List: tech-userlevel
Date: 11/21/2006 17:28:48

# Jeremy C. Reed 2006-11-17:
> I see and OVERRIDEOBJS in src/rescue/Makefile. I haven't 
> used it yet, but maybe that could be used with:
> CPPFLAGS.options.c+=	-GZIP_CMD=\"${RESCUEDIR}\/gzip"
> and for BZIP2_CMD also.

That wouldn't work, crunchgen doesn't have a way to selectively override
make variables for crunched programs (it would be nice to have though).

> Where is OVERRIDEOBJS documented? (Do I need OVERRIDEOBJS?)

It's a local variable in src/rescue/Makefile. LIBOVERRIDE is an object
that gets linked into crunched binary in order to override some libc
functions, OVERRIDEOBJS holds list of objects LIBOVERRIDE will be built
of. So this won't really help in your situation.

	-- Jachym