From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: elxsian <elxsian@gmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: Compile mode in emacs!!
Date: Tue, 27 Mar 2007 14:10:34 +0200 [thread overview]
Message-ID: <BC81F11C-F992-491D-B454-19FB3162A2B7@Web.DE> (raw)
In-Reply-To: <9688221.post@talk.nabble.com>
Am 27.03.2007 um 10:20 schrieb elxsian:
> When I try to use the compile mode in emacs, it picks up the
> default gcc
> (/usr/bin/gcc). I need it to pick the gcc in a different location.
> How do I
> do that?
Set path or PATH in the shell from which you launch GNU Emacs or in
your login shell accordingly. Or set an environment variable CC that
points to the compiler you want to use. Makefile can also set which
compiler will be used ...
And finally you can correct what M-x compile RET does by inserting in
the read-area (mini-buffer), just an example:
time nice +17 env USE_XCB=NO PATH=/Users/pete/Quellen/X11R7.1/util/
modular:/usr/local/bin:/sw/lib/freetype219/bin:/sw/lib/odcctools/bin:/
sw/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/gwTeX/
bin/bin CFLAGS="-v -pipe -fPIC -O0 -mcpu=7450 -mtune=7450 -fno-
common" CPPFLAGS="-v -no-cpp-precomp -I/usr/include/openssl -I/sw/
include/pango-1.0 -I/sw/lib/freetype219/include -I/sw/lib/freetype219/
include/freetype2 -I/sw/include/libpng12 -I/sw/include -I/usr/local/
include" LDFLAGS="-dead_strip -bind_at_load -L/sw/lib/freetype219/lib
-L/sw/lib/fontconfig2/lib -L/sw/lib/ncurses -L/usr/local/lib -L/sw/
lib" ACLOCAL="aclocal -I /usr/local/share/aclocal -I /sw/share/
aclocal" PKG_CONFIG_PATH=/sw/lib/freetype219/lib/pkgconfig:/sw/lib/
fontconfig2/lib/pkgconfig:/usr/X11R7/lib/pkgconfig:/sw/lib/pkgconfig:/
sw/lib/system-openssl/lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/
pkgconfig:/usr/local/lib/pkgconfig:/usr/local/clamXav/lib/pkgconfig
util/modular/build1.sh -m /Users/pete/Quellen/X11R7.1/Mesa-6.5.2 -D /
usr/X11R7 -n
You see: not even make needs to used to compile some software ...
--
Greetings
Pete
Remember: use logout to logout.
next prev parent reply other threads:[~2007-03-27 12:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 8:20 Compile mode in emacs!! elxsian
2007-03-27 12:10 ` Peter Dyballa [this message]
2007-03-28 5:10 ` Nazir
2007-03-28 8:29 ` Peter Dyballa
2007-03-28 8:56 ` Nazir
2007-03-28 9:17 ` Peter Dyballa
[not found] ` <39262250703280328g1f53a9a0l2a5e490e8a52acad@mail.gmail.com>
2007-03-28 11:17 ` Peter Dyballa
[not found] ` <39262250703280551md8bdc54u5b9c31e59d207018@mail.gmail.com>
2007-03-28 15:20 ` Peter Dyballa
[not found] <mailman.1487.1174994711.7795.help-gnu-emacs@gnu.org>
2007-03-28 13:18 ` Ken Goldman
2007-03-29 0:30 ` "Wilfred Zegwaard (privé)"
-- strict thread matches above, loose matches on Subject: below --
2007-03-27 8:18 elxsian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BC81F11C-F992-491D-B454-19FB3162A2B7@Web.DE \
--to=peter_dyballa@web.de \
--cc=Help-gnu-emacs@gnu.org \
--cc=elxsian@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).