Re: PATCH: /proc/cflags

Joe Fouche (jf@helix.caltech.edu)
Thu, 2 May 1996 12:08:50 -0700 (PDT)


Ulrich Windl wrote:
>
> On 1 May 96 at 16:51, Joe wrote:
>
> > The patch below adds an entry to /proc that represents the CFLAGS
> > definition passed to gcc at compile time.
>
> Do we really need this? Why not adding it to /proc/version (if you
> think you'll need it)?

1) This is useful if you test different CFLAGS and compilers, as
(combined with /proc/version) you get a full picture of what
you did to generate the kernel code.

2) Adding this to /proc/version made /proc/version too long, I
thought. Especially with several -m flags...

More comments invited.

.-.
. |-
-- -- | |
\_/