unix-admin-gr Digest, Vol 16, Issue 2

christos mitrogiannis mitrogiannis at gmail.com
Fri Feb 9 12:16:42 EET 2007


Otan leo oti den exei tis basikes labraries enow oti otan se ena aplo
programa
p.x hello.c opou kano :
#include <stdio.h> or
se programa me mathimatikes prakseis opou kano #include <math.h>
den anagnorizei ta sigekrimena header files.
piga sto path /usr/include kai eida oti pragmati den yparxoun.
Tha prospathiso na kano tis symvoules poy moy edoses.


On 2/9/07, unix-admin-gr-request at lists.hellug.gr <
unix-admin-gr-request at lists.hellug.gr> wrote:
>
> Send unix-admin-gr mailing list submissions to
>         unix-admin-gr at lists.hellug.gr
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.hellug.gr/mailman/listinfo/unix-admin-gr
> or, via email, send a message with subject or body 'help' to
>         unix-admin-gr-request at lists.hellug.gr
>
> You can reach the person managing the list at
>         unix-admin-gr-owner at lists.hellug.gr
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of unix-admin-gr digest..."
>
>
> Today's Topics:
>
>    1. gcc installation problem (christos mitrogiannis)
>    2. Re: gcc installation problem (V13)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 Feb 2007 18:36:06 +0200
> From: "christos mitrogiannis" <mitrogiannis at gmail.com>
> Subject: gcc installation problem
> To: unix-admin-gr at lists.hellug.gr
> Message-ID:
>         <8adbafe50702080836m52060dbdq9052d0adbb6e8899 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Kalispera se olous,
> Prospatho na kano install ton gcc-3.3 se irix6.5 se O2 SGI.
> Ton gcc ton ekana download apo to site freeware.sgi.com
> eno to installation egine me epityxia otan to kalo meso terminal me
> to command line:    gcc -v
> mou epistrefei oti :  gcc command not found.
> Stin poreia diapistosa oti an to kaleso me olokliro to path:
> /usr/freeware/bin/gcc hello.c  tote doulevei
> alla dystyxos den exei tis basikes libraries gia C compiling.
> Meta apo google search prospathisa na egatastiso to gcc-2.8.1 kai tin
> libstdc++-2.8.1
> ....meta to command ./configure mou epistrefei to ekseis error:
>
> ./configure[1307]: cc : not found
> The command  ' cc -o conftest  -g  conftest.c ' failed
> You must set the enviroment varaible CC to a working compiler.
>
> Opoiadipote voitheia einai efprosdekti
> Thanks
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.hellug.gr/pipermail/unix-admin-gr/attachments/20070208/03ff014a/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Thu, 8 Feb 2007 19:24:50 +0200
> From: V13 <v13 at it.teithe.gr>
> Subject: Re: gcc installation problem
> To: unix-admin-gr at lists.hellug.gr
> Cc: christos mitrogiannis <mitrogiannis at gmail.com>
> Message-ID: <200702081924.50538.v13 at it.teithe.gr>
> Content-Type: text/plain;  charset="iso-8859-7"
>
> On Thursday 08 February 2007 18:36, christos mitrogiannis wrote:
> > Kalispera se olous,
> > Prospatho na kano install ton gcc-3.3 se irix6.5 se O2 SGI.
> > Ton gcc ton ekana download apo to site freeware.sgi.com
> > eno to installation egine me epityxia otan to kalo meso terminal me
> > to command line:    gcc -v
> > mou epistrefei oti :  gcc command not found.
> > Stin poreia diapistosa oti an to kaleso me olokliro to path:
> > /usr/freeware/bin/gcc hello.c  tote doulevei
> > alla dystyxos den exei tis basikes libraries gia C compiling.
>
> ... stop edo...
>
> Ti enoeis den exeis tis basikes libraries? To poio pithano einai na min
> dineis
> kati apo ta:
>
> LD_LIBRARY_PATH=/usr/freeeware/lib <command>
> h export LD_LIBRARY_PATH=/usr/freeware/lib
> h setenv LD_LIBRARY_PATH /usr/freeware/lib
>
> (analoga me to shell poy exeis)
>
> dokimase p.x. kati tetoio (me oti a.c theleis):
>
> gcc a.c -o a
> setenv LD_LIBRARY_PATH /usr/freeware/lib
> ./a
>
> episis, mporeis na kaneis statiko compile kai isos kai merika alla, ta
> opoia
> den exoyn na kanoyn me tin egkatstash toy gcc.
>
> <<V13>>
>
>
>
> ------------------------------
>
> _______________________________________________
> unix-admin-gr mailing list
> unix-admin-gr at lists.hellug.gr
> http://lists.hellug.gr/mailman/listinfo/unix-admin-gr
>
>
> End of unix-admin-gr Digest, Vol 16, Issue 2
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/unix-admin-gr/attachments/20070209/9bca97c0/attachment.htm>


More information about the unix-admin-gr mailing list