QUE: Ftiaksimo library.

Christos Ricudis ricudis at paiko.gr
Thu Feb 4 17:09:41 EET 1999


Hello Linux-greek-users!

  On 04 Feb 99, Linux-greek-users wrote to All with subject "QUE: Ftiaksimo
library.":


 L> Geia xara se olous.
 L> Exo ena programmatistiko problima.

 L> Esto oti exo kapoia c/c++ arxeia kai thelo me afta na ftiakso mia
 L> bibliothiki gia to Linux. Poia diadikasia prepei na akolouthiso;
 L> Ti epektasi prepei na exei to lib arxeio; To arxeio prepei na mpei 
 L> se sigkekrimeno simeio ston skliro;

kota.c : 

----------------------

#include <stdio.h> 

void kota (char *e) { 
        printf("Eimai mia kota poy kanei %s ayga\n");
}

----------------------

h_kota_tou_picasso.c : 

----------------------

void kota (char *);

void main(void) {
        kota("kybika");
}

----------------------


cc -c kota.c -o kota.o 
ar r libkota.a kota.o
cp libkota.a /usr/kotetsi/lib/ 
cc h_kota_tou_picasso.c -L/usr/kotetsi/lib -lkota
./a.out


Gia shared libraries : 

cc -fPIC -c kota.c -o kota.o
cc -fPIC -shared -o libkota.so kota.o
cp libkota.so /usr/kotetsi/lib/
cc h_kota_tou_picasso.c -L/usr/kotetsi/lib -lkota
./a.out


An 8eleis na kaneis kai versioning h diadikasia einai ligo pio periplokh kai
den th 8ymamai apeksw...


--
Christos Ricudis
Prof:    So the American government went to IBM to come up with a data
         encryption standard and they came up with ...
Student: EBCDIC!
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
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