[linux] gcc
Rado Sochor
sochor na mtf.stuba.sk
Pátek Srpen 11 10:45:56 CEST 2000
Hop, pardon,
dufam ze teraz uz som to spravil dobre:
$ echo "int main() { return 0;}">test.c
$# gcc test.c
Vypis:
/usr/bin/ld: cannot open crt1.o: Adresár alebo súbor neexistuje
collect2: ld returned 1 exit status
$
R.
> ak si tam naozaj napisal to co vravis tak ani sa necudujem...
> ono skus to opisat tak ako ti to napisal niteshadow...
> to znamena echo "int main() { return 0;}">test.c
> a NIE echo "init main() { return 0;}">test.c !!!
>
> init a int ... to je tak trosku dost rozdiel , a int je ta spravna volba...
>
> a ked mas silne nutkanie pouzit ako typ navratovej hodnoty mainu init tak to
> sprav ze: echo -e "#define init int\ninit main() { return 0;}">test.c :))
>
> > > > 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
>
>
> /* Andrej Hosna - http://people.ibl.sk/adino - +421 903 852 696
> IBL Software Engineering - http://www.ibl.sk - +421 7 43427214*/
> _______________________________________________
> linux mailing list
> linux na rak.isternet.sk
> http://rak.isternet.sk/mailman/listinfo/linux
*************************
sochor na mtf.stuba.sk
*************************
Další informace o konferenci linux