User forums > General (but related to Code::Blocks)

How do I compile GDB with MinGW?

(1/2) > >>

Zingam:
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?

Michael:

--- Quote from: Zingam on March 28, 2006, 01:46:58 pm ---How do I compile GDB with MinGW?

--- End quote ---

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.


--- Quote from: Zingam on March 28, 2006, 01:46:58 pm ---What should I do to compile GDB with MinGW that is included with CB? And apply a patch to it before that too?

--- End quote ---

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

Zingam:
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?

thomas:
http://sources.redhat.com/gdb/current/onlinedocs/gdb_31.html#SEC680

hsazerty:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version