Author Topic: How do I compile GDB with MinGW?  (Read 4358 times)

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
How do I compile GDB with MinGW?
« on: March 28, 2006, 01:46:58 pm »
How do I compile GDB with MinGW?

What should I do to compile GDB with MinGW that is included with CB? And apply a patch to it before that too?
« Last Edit: March 28, 2006, 01:49:09 pm by Zingam »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How do I compile GDB with MinGW?
« Reply #1 on: March 28, 2006, 01:55:51 pm »
How do I compile GDB with MinGW?

I am not sure that you can. I have tried to compile GDB 6.4 with MSYS/MinGW, but without success. Here is my post.

Anyway, this MinGW wiki article on GDB could be useful.

What should I do to compile GDB with MinGW that is included with CB? And apply a patch to it before that too?

Compile? Why? If you are using RC2, GDB is an executable (but you should consider to jumo to the latest nightly build). If you are using a nightly build, then download MinGW and GDB from the MinGW website and install them (before MinGW, then GDB).

Best wishes,
Michael
« Last Edit: April 11, 2006, 10:53:03 am by Michael »

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
Re: How do I compile GDB with MinGW?
« Reply #2 on: March 28, 2006, 07:35:22 pm »
Well I always use the latest nightly build but once upon a time I have installed RC2 first.


I need some extra functionality. Will I be able to compile it with Cygwin?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline hsazerty

  • Single posting newcomer
  • *
  • Posts: 4
How to install GDB 6.7 ?
« Reply #4 on: October 19, 2007, 07:53:17 pm »
Hi,

PLEASE, can someone help me to install GDB 6.7 with minGW ?

I downloaded MinGW, i downloaded GDB 6.7 and extracted it into the root directory of MinGW.

What else ? I dont find the file "gdb.exe" ?

Thank's.

Offline alchemist

  • Multiple posting newcomer
  • *
  • Posts: 38
    • My Blog
Re: How do I compile GDB with MinGW?
« Reply #5 on: October 20, 2007, 10:24:38 am »
did you set the PATH environment variable ?
Kind Regards,
Xavier Miller.
http://xaviermiller.be