errors sto g++

Shadowhunter night at lar.forthnet.gr
Fri Apr 24 13:33:29 EEST 1998


>
>
> Loipon, prvto vhma:
>
> Ftiaxneis ena typiko programma c++ kai dokimazeis ton compiler.
>
> chloe# cat ? prog.C
> int main( void )
> {
>         return 0;
> }
> ^D
> chloe# g++ -o prog prog.C
> chloe# ls -l prog
>
> An ola pane kala, tote o c++ compiler doulevei.
> Opote, mpaineis sto "configure" kai tropopoieis thn routina pou elegxei an
> o c++ compiler mporei na vgalei ektelesima c++ kai parakapteis ton elegxo.
>
> To pio piuano aitio tou provlimatos einai na xreiazetai na dilvneis thn
> bibliouikh libg++.a otan kaneis compilation+linking, diladi:
>
>         g++ -o prog prog.C -lg++
>
> Ayto einai piuano otan kaneis o idios compilation+install mia nea ekdosh
> tou gcc kai to libg++.a den einai sto default path.



telika ayto itan to provlima...KANONTAS ENA SEARCH GIA TO libg++.a
den to vrika......KSEREI KANENAS SE PIA VIVLIOTHIKI EINAI ???????
otan ekana compile to parapano dikimastiko provlima mou evgale :

ld: cannot open -lg++: No such file or directory

ipotheto oti einai sta BINUTILS , ALLA AS EIMAI SIGOUROS TOYLAZXISTON

Shadowhunter
http://users.forthnet.gr/lar/night




--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list