[Mono-devel-list] Problem building mono with cygwin

Alexandre Pigolkine pigolkine at gmx.de
Thu May 15 03:28:39 EDT 2003


Hello,

I had the same problem.
I copied gc folder from /usr/include to /usr/include/mingw folder.
And (I use libgc from CVS) commented following lines in gc.h:

# include <pthread.h>
# include <signal.h>

typedef struct
{
void (* initialize) (void);
int (* thread_create) (pthread_t *new_thread,
       const pthread_attr_t *attr,
       void * (*start_routine)(void *),
       void *arg);
int (* thread_join) (pthread_t wait_for, void **status);
int (* thread_detach) (pthread_t target_thread);
int (* thread_sigmask) (int how, const sigset_t *set, sigset_t *oset);
void (* stop_world) (void);
void (* push_all_stacks) (void);
void (* start_world) (void);
} GCThreadFunctions;
extern GCThreadFunctions *gc_thread_vtable;


May be this is not needed, but for mingw build pthread.h does not exists
and 
signal.h has Windows definitions.

Hope that this helps.

Alexandre


> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com 
> [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of 
> Jeroen Janssen
> Sent: Donnerstag, 15. Mai 2003 08:55
> To: monodev
> Subject: Re: [Mono-devel-list] Problem building mono with cygwin
> 
> 
> Jeroen Janssen wrote:
> 
> > configure: error: Found libgc but not its header files! You may need
> > to install
> > them by hand.
> 
> 
> > Does anyone have the same problem / a solution?
> 
> Duh... I just noticed 
> http://bugs.ximian.com/show_bug.cgi?id=38655 > which 
> seems 
> exactly the same problem.
> 
> Is this currently being worked on?
> ---
> Jeroen
> 
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 




More information about the Mono-devel-list mailing list