Posts

Multi-target Makefile Template

12 Jan 2013

一个多目标的GNU Makefile的示例 ...

阅读全文 ...


A Makefile Template

12 Jan 2013

一个GNU Makefile的示例 ...

阅读全文 ...


Learning Make (GNU make)

11 Jan 2013

questions:

  • difference between CPPFLAGS and CXXFLAGS ? CPPFLAGS is supposed to be for flags for the C PreProcessor; CXXFLAGS is for flags for the C++ compiler. The default rules in make (on my machine, at any rate) pass CPPFLAGS to just about everything, CFLAGS is only passed when compiling and linking C, and CXXFLAGS is only passed when compiling and linking C++.
...

阅读全文 ...


使用cygwin

10 Jan 2013

Install and Update

  • use setup.exe

Check Component Status

  • cygcheck -c
...

阅读全文 ...


macOS 使用经验总结

13 Jul 2012

前言

本文持续更新总结macOS系统的一些操作技巧。

Finder

Show Paths in Finder

  • 在Finder中显示路径栏: Finder菜单栏 -> 显示 -> 显示/隐藏路径栏
  • 路径栏显示完整路径:
# 开:
defaults write com.apple.finder PathBarRootAtHome -bool TRUE;killall Finder

# 关:
defaults delete com.apple.finder PathBarRootAtHome;killall Finder
  • 在Finder顶部显示完整路径
# 开:
defaults write com.apple.finder _FXShowPosixPathInTitle -bool TRUE;killall Finder

# 关
defaults delete com.apple.finder _FXShowPosixPathInTitle;killall Finder
Tip: 右键点击顶部路径任意位置,会弹出路径列表,可切换至任意层级的父目录
...

阅读全文 ...