Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5227247
  • 博文数量: 1696
  • 博客积分: 10870
  • 博客等级: 上将
  • 技术积分: 18357
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 15:16
文章分类
文章存档

2017年(1)

2016年(1)

2015年(1)

2013年(1)

2012年(43)

2011年(17)

2010年(828)

2009年(568)

2008年(185)

2007年(51)

分类: LINUX

2010-03-16 02:20:22

4.3. GNU compiler toolchain (UNIX or Win32 Cygwin)
 Chapter 4. Tool Reference 

4.3. GNU compiler toolchain (UNIX or Win32 Cygwin)

4.3.1. gcc (GNU compiler collection)

[Warning]Win32: Warn!

Using Cygwin gcc to compile Wireshark is "EXPERT ONLY" and therefore NOT recommended. If you really want to try it anyway, see: for some details!

The GCC C compiler is available for most of the UNIX-like platforms and as the Devel/gcc package from the .

If GCC isn't already installed or available as a package for your platform, you can get it at: .

After correct installation, typing at the bash command line prompt:

$ gcc --version

should result in something like:

gcc (GCC) 3.4.4 (cygwin special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

However, the version string may vary.

4.3.2. gdb (GNU project debugger)

GDB is the debugger for the GCC compiler. It is available for many (if not all) UNIX-like platforms and as the Devel/gdb package from the

If you don't like debugging using the command line, there are some GUI frontends for it available, most notably GNU DDD.

If gdb isn't already installed or available as a package for your platform, you can get it at: .

After correct installation:

$ gdb --version

should result in something like:

GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".

However, the version string may vary.

4.3.3. ddd (GNU Data Display Debugger)

The GNU Data Display Debugger is a good GUI frontend for GDB (and a lot of other command line debuggers), so you have to install GDB first. It is available for many UNIX-like platforms and as the ddd package from the .

If GNU DDD isn't already installed or available as a package for your platform, you can get it at: .

4.3.4. make (GNU Make)

[Note]Win32 Note!

Although some effort is made to use make from the Cygwin environment, the mainline is still using Microsoft Visual Studio's nmake.

GNU Make is available for most of the UNIX-like platforms and also as the Devel/make package from the .

If GNU Make isn't already installed or available as a package for your platform, you can get it at: .

After correct installation:

$ make --version

should result in something like:

GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

However, the version string may vary.


  
4.2. Win32: Cygwin  4.4. Microsoft compiler toolchain (Win32 native)
阅读(1174) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~