Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb build using different compiler
@ 2004-03-09 17:54 Manoj Iyer
  0 siblings, 0 replies; 5+ messages in thread
From: Manoj Iyer @ 2004-03-09 17:54 UTC (permalink / raw)
  To: gdb


How do I build gdb 6.1 using a compiler in /opt/tools/gcc instead of
/usr/bin/gcc?

Thanks
Manoj


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: gdb build using different compiler
@ 2004-03-09 18:53 Michael Elizabeth Chastain
  2004-03-09 20:09 ` Andrew Cagney
  2004-03-09 20:43 ` Andreas Schwab
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Elizabeth Chastain @ 2004-03-09 18:53 UTC (permalink / raw)
  To: gdb, manjo

Hi Manoj,

> How do I build gdb 6.1 using a compiler in /opt/tools/gcc instead of
> /usr/bin/gcc?

Put /opt/tools/gcc/bin in your $PATH variable in front of /usr/bin.

  PATH=/opt/tools/gcc/bin:$PATH
  export PATH

Then do this to make sure you're getting the gcc you want:

  gcc --version

You might have to tweak "/opt/tools/gcc/bin" to get the result you want.

That's all there is to it!

Michael C


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-09 21:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-09 17:54 gdb build using different compiler Manoj Iyer
2004-03-09 18:53 Michael Elizabeth Chastain
2004-03-09 20:09 ` Andrew Cagney
2004-03-09 21:50   ` Andreas Schwab
2004-03-09 20:43 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox