Software Archive
Read-only legacy content
17061 Discussions

How to compile GCC Cilkplus ?

mrjay42
Beginner
5,159 Views
Hi everyone,

I am trying to compile my first line of Cilk language with GCC...

I have "checkouted" the specific branch of GCC :
http://gcc.gnu.org/svn/gcc/branches/cilkplus/

And then i ran :
./configure
make
make install

And now my compiler version (gcc -v) is now : 4.7.0
(I am using Ubuntu x64)

But I don't know how to compile a simple cilk file!!
What is the command line I should use to compile a Cilk file ?

Thank you very much
MrJay42
0 Kudos
21 Replies
Balaji_I_Intel
Employee
466 Views
Hello District9,
If you would like, you can downloadthe latestsnapshot from GCC repository (http://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/heads/cilkplus)... I tried it and it seems to download OK.

Thanks,

Balaji V. Iyer.

P.S. If you are familiar with git, you can download the GCC sources using GIT, so that you can track all the changes that users contribute.

Thanks,

Balaji V. Iyer.
0 Kudos
Reply