- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was following the instructions from https://www.cilkplus.org/build-gcc-cilkplus, and I consistently got an error saying that "tm.h": no file or directory was found. I'm not sure what tm.h is, or what package it is included with.
I installed the following packages: GNAT (probably doesn't help), GMP, MPFR, MPC, ISL, Flex, Bison.
My configuration options were `./configure --prefix=/usr/lib/gcc/cilkplus --enable-languages="c,c++" --disable-multilib`
On Ubuntu 14.10.
Can someone help me compile cilkplus for gcc?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rahul,
Please checkout GCC again and do the configuration in a build directory instead of the source directory. For example, instead of doing "./configure.... " create a bulid directory outside the gcc source (say b-gcc) and do the configuration from that directory (../cilkplus-gcc/configure ...)
Thanks,
Balaji V. Iyer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Balaji,
While I checkout GCC again, a few things to note is that the url provided on the website ("http://gcc.gnu.org/git/gcc.git") fails with "error: Unable to get pack index [something_very_longpack-3d41dc6e064e2a69db1aef619416eb026aab19e4.idx]"). However, it seems that what I used earlier to clone was "git://gcc.gnu.org/git/gcc.git", which runs to completion and successfully downloads the 1876608 (~2GB) objects.
I did actually miss step 3 (which requests me to make the b-gcc directory), so I'll try it again and post the results after the build completes.
-Rahul

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page