dircolors

2012-02-25 Thread Pierre Abbat
Do you know where to get the dircolors program? I copied my bashrc from my 
Linux box and it has this code:


# enable color support of ls and also add handy aliases
if [ $TERM != dumb ]; then
#eval `dircolors -b`
alias ls='ls -G'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
fi

I tried copying the dircolors binary, but it complained about a library 
version.

Pierre
-- 
gau do li'i co'e kei do


Re: dircolors

2012-02-25 Thread Justin Sherrill
On Sat, Feb 25, 2012 at 11:01 PM, Pierre Abbat p...@phma.optus.nu wrote:
 Do you know where to get the dircolors program? I copied my bashrc from my
 Linux box and it has this code:

Does dircolors do something ls -G does not?


Where is -lm_p?

2012-02-25 Thread Pierre Abbat
I'm working on a program and I want to see how much time it's spending in each 
function. So I edit the CMakeCache and add the -pg flag:

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-ggdb -pg

I then run cmake and make and get this:

[ 50%] Building CXX object CMakeFiles/tone12.dir/midi.o
[ 75%] Building CXX object CMakeFiles/tone12.dir/riffwave.o 
  
[100%] Building CXX object CMakeFiles/tone12.dir/tonegen.o  
  
Linking CXX executable tone12   
  
/usr/libexec/binutils222/elf/ld: cannot find -lm_p  
  
*** Error code 1

Pierre
-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci