WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] No c99 in gcc?  (Read 2902 times)

Offline elliott

  • Newbie
  • *
  • Posts: 3
[Solved] No c99 in gcc?
« on: March 27, 2011, 08:25:00 AM »
I'm trying to compile Pianobar on my Tiny Core 3.5.1 install. I grabbed the compiletc.tcz extension and all of the dependencies I should need. When I run make, I get an error that c99 was not found. As far as I know, c99 is part of gcc.

Is there any reason c99 was excluded from the gcc extension? Is there anything I can do about it without rebuilding gcc?

SOLVED:
Edited the Makefile, set CC=gcc and added the -std=c99 CFLAG.
« Last Edit: March 27, 2011, 08:48:52 AM by elliott »

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: No c99 in gcc?
« Reply #1 on: March 27, 2011, 08:49:29 AM »
did u pass this flag to gcc ?

"-std=c99"

Edit: never mind you edited your post as solved just seconds before i post this reply