Intent to pass data PARCLABLE, Serializable, Bundle detailed usage

2023-01-04   ES  

Eclipse CDT Introduce the C/C ++ project built by Makefile

  • Author: Liu Da Poechant (Zhong Chao)
  • mailbox: zhongchao.ustc# gmail.com (#-> @)
  • Blog:Blog.CSDN.net/Poechant
  • Date: june 30th, 2012

I am Eclipse CDT, which is used on Mac OS X. Linux and Windows are similar. Generally, they are only different positions of Preference.

  1. File -> New -> Makefile Project with Existing Code
  2. Select the source code directory, and select the C language of the language. If it is a Linux environment, select Linux GCC, Mac environment is selected for MacOSX GCC, and Eclipse under Windows can choose mingw GCC.
  3. Project-> Make Target-> Create, create two targets two TARGETs.
  4. Select the ALL of the newly established project in Make Target to build the project
  5. After the construction is over, RUN-> Debug As-> Local C/C ++ Application-> GDB/MI, the debugging option can be set in the debug configuration.

Among them, the difference between GDB/mi and GDB searches the following explanations on the Internet:

gdb and gdb/mi are essentially the same, except that gdb/mi lets you
select the MI protocol version and command set to use (MI - or Machine 
Interface - is how Eclipse communicates with gdb, rather than using 
the normal gdb command-line interface). This is useful if you want to 
do something not supported by the defaults, or have a non-standard gdb,
such as used on Mac OS X. gdbserver is a very lightweight debug server
used for debugging embedded systems. **The normal gdb/mi commands are 
used, but gdb must be told to connect to a gdbserver running on a remote 
system.** There's an extra tab for specifying this information.

Reference:

  1. http://dev.eclipse.org/mhonarc/lists/photran/msg00926.html
  2. http://blog.csdn.net/kevin_zqw/article/details/6927151

Seven Sea Connected Team Club App official website:http://whatsclub.cn(Club app, the interest club/community of young people)

Reprinted, please indicate CSDN from Liu Da (Zhong Chao):Blog.CSDN.net/Poechant

Seven Sea Interconnection Team Club App official website:http://whatsclub.cn(Club app, the interest club/community of young people)

source

Related Posts

Simulation signal Discuss in-depth transmission distance of 4-20mA current signal

Python list commonly used operation The

Log4J2

AIX+Oracle11g+ASM Add Disk expansion LHDZ

Intent to pass data PARCLABLE, Serializable, Bundle detailed usage

Random Posts

1 1 1 1 1 1 1 1 1 1 overall review

C language to implement eight sorting algorithms (1)

linux terminal cannot display emoji problems

linux driver-symbol export Monkey

HDU2068 RPG has not been done yet! Intersection Intersection Combination