C problem...se megethos domhs
Aggelos Economopoulos
aoiko at cc.ece.ntua.gr
Sat Jan 24 19:08:23 EET 2004
On Sat, 24 Jan 2004 18:10:59 +0200
"John Tsiombikas (Nuclear / the Lab)" <nuclear at siggraph.org> wrote:
> John Tsiombikas (Nuclear / the Lab) wrote:
> > btw yparxei nomizo compiler option ston GCC pou anagkazei ton > compiler
> > na min bazei padding sta arrays alla de thymame pos to lene, man > gcc.
> xm... sta *structs* profanos enoousa, gamimeno ksypnima, prepei na pio kafe :)
i) info gcc ennoeis. to man page tou gcc uparxei mono gia na thrountai ta prosxhmata.
ii) uparxei to option '-fpack-struct' (or something), alla epeidh ta perissotera programmata 8eloun apla na einai packed ta structs pou grafontai/diabazontai sto disko/diktuo, uparxei to
struct a {
char c;
int i;
} __attribute__((packed));
btw, 8a epairna orko oti exw apanthsei th idia erwthsh 3ana sthn lgu, an kai auto endiaferei pio polu ton original poster (koita prwta ta archives klp).
(loipon, auton ton sylpheed h polu misconfigured ton exw h exei sobara problhmata usability (mallon to prwto) - prepei na dior8wsw to configuration h na ton 3efortw8w *grhgora*)
Aggelos
More information about the Linux-greek-users
mailing list