[linux] gcc

Rado Sochor sochor na mtf.stuba.sk
Pátek Srpen 11 07:50:37 CEST 2000


Zadal som:
$echo "init main() { return 0;}">test.c 
$ gcc test.c 

A vypisalo mi toto:
test.c:1: parse error before `main'     

Co s tymto ?

Rado.



Dňa Št, 10 aug 2000 ste napísali:
> 
> On Thu, Aug 10, 2000 at 03:05:04PM +0200, Rado Sochor wrote:
> > Zdravim,
> > 
> > moze mi niekto pomoct ako sa zbavit tohoto:
> > 
> > checking for gcc... gcc
> > checking whether the C compiler (gcc  ) works... no
> > configure: error: installation or configuration problem: C compiler cannot create executables.     
> > 
> > pri kompilacii programov?
> 
> skus spravit toto:
> 
> $ echo "int main() { return 0; }" > test.c
> $ gcc test.c
> 
> a poslat vypis, co to povedalo.
> 
> -- 
> Kind regards,
> Robert Varga
> ------------------------------------------------------------------------------
> n na hq.sk                                    http://hq.sk/~niteshadow/gpgkey.txt
>  

----------------------------------------
Content-Type: application/pgp-signature; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

 
*************************
sochor na mtf.stuba.sk
*************************



Další informace o konferenci linux