Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: elliott on March 27, 2011, 08:25:00 AM

Title: [Solved] No c99 in gcc?
Post by: elliott on March 27, 2011, 08:25:00 AM
I'm trying to compile Pianobar (http://6xq.net/html/00/17.html) 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.
Title: Re: No c99 in gcc?
Post by: Arslan S. 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