ok, fixed this with the attached patch. now mono compiles. however, all 
the dll's produced are 0 sized. looking at the scripts, it looks like 
this might be due to the absence of a 'dlltool' in the standard 
distribution of binutils on linux.

so the question now is... am I doing something wrong when building under 
linux or do I need to (is it possible to) compile my own binutils for 
linux that contains dlltool.

thanks
Index: mono/metadata/Makefile.am
===================================================================
RCS file: /mono/mono/mono/metadata/Makefile.am,v
retrieving revision 1.51
retrieving revision 1.53
diff -c -r1.51 -r1.53
*** mono/metadata/Makefile.am   23 May 2002 07:44:00 -0000      1.51
--- mono/metadata/Makefile.am   4 Jun 2002 11:42:50 -0000       1.53
***************
*** 8,14 ****
  assembliesdir = $(libdir)
  
  INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)   -I$(top_srcdir)/mono \
!       -DMONO_ASSEMBLIES=\""$(assembliesdir)"\"                
  
  libmonoruntime_a_SOURCES = \
        reflection.c    \
--- 8,14 ----
  assembliesdir = $(libdir)
  
  INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)   -I$(top_srcdir)/mono \
!       -DMONO_ASSEMBLIES=\""$(assembliesdir)"\" -DMONO_CFG_DIR=\""$(sysconfdir)"\"
  
  libmonoruntime_a_SOURCES = \
        reflection.c    \
***************
*** 56,61 ****
--- 56,63 ----
        metadata.c      \
        verify.c        \
        mono-endian.c   \
+       mono-config.c   \
+       mono-config.h   \
        private.h       \
        rawbuffer.c     \
        loader.c        \

Reply via email to