When I make the example qsort, an error shows like this,
cilk++ qsort.cilk -O1 -g -lcilkutil -o qsort
ld:cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [qsort] Error 1
I added cilk/bin to PATH and copied cilk/lib32/libgcc_s.so.1 to lib directory, but it does not help.
It can be compiled successfully by merely gcc qsort -c -o qsort.o
The gcc in cilk/bin is download form here.
Wht is the matter? I looked libgcc_s.so.1 in the whole system and found many copies in diffrent directories.
Which one is the right one, that in cilk/lib32/ directory should be used, I think?
The system is Linux 2.4.18 on VMware