https://bugzilla.novell.com/show_bug.cgi?id=641915

https://bugzilla.novell.com/show_bug.cgi?id=641915#c2


Miguel de Icaza <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #2 from Miguel de Icaza <[email protected]> 2010-09-26 16:32:01 UTC 
---
Sample program:

gcc -shared -fPIC ex.c -o /tmp/libex.so
gmcs a.cs
cd
mono /tmp/ex.exe  // this fails
cd /tmp
mono ex.exe // this runs

-------

// a.cs
using System.Runtime.InteropServices;

class X {
[DllImport ("ex")]
extern static void stuff ();

static void Main ()
{
stuff ();
}
}

// ex.c 
void stuff ()
{
printf ("hola\n");
}

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to