Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TOOL] gcc-gtk: test&help need
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Tue Oct 12, 2004 10:54 am    Post subject: [TOOL] gcc-gtk: test&help need Reply with quote

Buon giorno a tutti.

Sto sviluppando un toolettino che permette facilmente di compilare programmi scritti con le librerie gtk.
E' scritto in C e, secondo me, può essere utile per sveltire la compilazione di programmi scritti con le suddette librerie.

Potete scarricare l'eseguibile con:
Code:

# wget http://mouser.altervista.org/C/gcc-gtk/bin/gcc-gtk


Mentre, per i sorgenti:
Code:

# wget http://mouser.altervista.org/C/include/argfunc.h
# wget http://mouser.altervista.org/C/gcc-gtk/gcc-gtk.c

Ed inserirli in una struttura delle directory siffatta:
Code:

include
 |-----> file .h generici
gcc-gtk
 |-----> file .c e .h di gcc-gtk


Ora passiamo ai problemi...
Salta fuori un'errore strano... quando compilo tutto ok, ma quando eseguo ottengo:
Code:

$ gcc-gtk
GCC-GTK version 0.2
  (c) Matteo <mouser> Cappadonna, 2004
  GNU/GPL License
  mail: wizard@simpatico.it

Segmentation fault
$

Vedendo il codice qualcuno sa dirmi il perchè????? ho provate varie cose e non riesco a scovare l'inghippo. Ho persino il dubbio (anche se mi sembra strano) che con la funzione system() non si possano lanciare compilazioni..... mah!!!

Grazie mille. Ciriciao
mouser :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum