all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Nazir " <elxsian@gmail.com>
To: "Peter Dyballa" <Peter_Dyballa@web.de>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: Compile mode in emacs!!
Date: Wed, 28 Mar 2007 10:40:02 +0530	[thread overview]
Message-ID: <39262250703272210t4c3ff3ffy3b84ba7d26d9a2f0@mail.gmail.com> (raw)
In-Reply-To: <BC81F11C-F992-491D-B454-19FB3162A2B7@Web.DE>


[-- Attachment #1.1: Type: text/plain, Size: 2295 bytes --]

Thanks for your reply Peter.
The path in the shell is already set to the required compiler. I need to run
a set of make files.
I do not want to change the "CC" in the make files.
But , when I say which gcc in the Mx- compile:
It says "/usr/bin/gcc"
I want to use, say "/tools/gnu/gcc". (THe shell from which emacs is laucnhed
points to this gcc! )
Can I configure the emacs to pick the required compiler?

Thanks again,
Nazir



On 3/27/07, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
>
> 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.
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2890 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2007-03-28  5: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
2007-03-28  5:10   ` Nazir  [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39262250703272210t4c3ff3ffy3b84ba7d26d9a2f0@mail.gmail.com \
    --to=elxsian@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=Peter_Dyballa@web.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.