Help in Compilation
Kyriakos Sgarbas
sgarbas at wcl.ee.upatras.gr
Tue Jan 23 13:16:01 EET 2001
Dystyxws den exw katholou empeiria apo compilation se Linux kai zitw ek twn
proterwn syggnwmi an rwtw kati trivial. To problima mou einai to eksis:
Exw kwdika se C kai thelw na ton kanw compile. O kwdikas exei dyo makefiles,
to ena gia BSD 4.3 kai to allo gia SYSV. H basiki erwtisi einai: mporw na
ton kanw compile se Linux i paideuomai tzampa?
Prospathisa na treksw to makefile gia to BSD alla pairnw diafora errors.
Gia paradeigma, enw se ena header file dilwnetai mia synartisi:
int setjmp();
kata to compilation bgazei error:
"macro 'setjmp' used without args"
Psaxnontas to ligo kalytera, eida oti i setjmp orizetai ws macro sto arxeio
/usr/include/setjmp.h
Omws ekei eida diafores entoles tou typou:
#ifndef __FAVOR_BSD
#if defined __USE_BSD
Auto simainei oti yparxei option gia compilation BSD kwdika? Pws to
energopoiw?
Eyxaristw poly,
Kyriakos Sgarbas
More information about the Linux-greek-users
mailing list