[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x compile
From: |
Daniel Pfeiffer |
Subject: |
Re: M-x compile |
Date: |
Sun, 9 Feb 2003 14:09:45 +0100 |
chris@grierwhite.com (Christopher J. White) skribis:
> >>>>> "tiarnan" == Tiarnan O Corrain <tiarnan.ocorrain@logicacmg.com> writes:
>
> tiarnan> Apropos M-x compile -- is there any way to set environment
> tiarnan> variables that may be needed by Makefiles when M-x compile
> tiarnan> runs make: e.g. DEVROOT or cognates?
>
> The current env in emacs is passed on to the compile process.
> So, just M-x setenv DEVROOT or put it in your .emacs. If you
> need a different environment for different buffers, it's
> a bit more ugly.
You can put them in your compile command like:
ENVVAR=xyz make
and/or
make OVERRIDEVAR=xyz
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer
-- GPL 3: take the wind out of Palladium's sails! --
------
-- My other stuff here too, sawfish, make.pl...: --
------
-- http://dapfy.bei.t-online.de/ --
- M-x compile, Glenn Hancock, 2003/02/07
- Re: M-x compile, Alfred M. Szmidt, 2003/02/07
- Re: M-x compile, Alfred M. Szmidt, 2003/02/07
- Re: M-x compile, Eli Zaretskii, 2003/02/07
- Re: M-x compile, Tiarnan O Corrain, 2003/02/08
- Message not available
- Re: M-x compile, Christopher J. White, 2003/02/08
- Re: M-x compile,
Daniel Pfeiffer <=
- Re: M-x compile, Glenn Hancock, 2003/02/07