mono.git
12 years agoFix the cairo dllmap on OS X
Michael Hutchinson [Mon, 20 Jun 2011 13:34:12 +0000 (14:34 +0100)]
Fix the cairo dllmap on OS X

12 years agoSDB under darwin can't handle new style interruption.
Rodrigo Kumpera [Mon, 20 Jun 2011 13:29:28 +0000 (10:29 -0300)]
SDB under darwin can't handle new style interruption.

12 years agoAdd mono_thread_info_disable_new_interrupt so we can disable new interruption program...
Rodrigo Kumpera [Mon, 20 Jun 2011 13:28:39 +0000 (10:28 -0300)]
Add mono_thread_info_disable_new_interrupt so we can disable new interruption programatically.

12 years agoUpdate copyrights
Miguel de Icaza [Sun, 19 Jun 2011 22:59:21 +0000 (18:59 -0400)]
Update copyrights

12 years agoMerge pull request #118 from XTZGZoReX/master
Andreia Gaita [Sun, 19 Jun 2011 21:04:38 +0000 (14:04 -0700)]
Merge pull request #118 from XTZGZoReX/master

Socket: Fixed a security issue when default-initialized ArraySegment structs are passed in.

12 years agoSocket: Fixed a security issue when default-initialized ArraySegment structs are...
XTZGZoReX [Sun, 19 Jun 2011 23:02:00 +0000 (01:02 +0200)]
Socket: Fixed a security issue when default-initialized ArraySegment structs are passed in.

This is the same security issue that was recently addressed in MS.NET.

12 years agoAdd some missing files.
Zoltan Varga [Sun, 19 Jun 2011 15:28:21 +0000 (17:28 +0200)]
Add some missing files.

12 years agoImplement support for Debugger.Log ()/ IsLogging () in sdb.
Zoltan Varga [Sat, 18 Jun 2011 18:25:37 +0000 (20:25 +0200)]
Implement support for Debugger.Log ()/ IsLogging () in sdb.

12 years agoImplement support for routing System.Diagnostics.Debugger:Break () calls to a debugge...
Zoltan Varga [Sat, 18 Jun 2011 17:15:46 +0000 (19:15 +0200)]
Implement support for routing System.Diagnostics.Debugger:Break () calls to a debugger using a new UserBreak event type.

12 years agoSupport another case in mono_gc_get_bitmap_for_descr ().
Zoltan Varga [Fri, 17 Jun 2011 14:15:22 +0000 (16:15 +0200)]
Support another case in mono_gc_get_bitmap_for_descr ().

12 years agoFix LLVM build.
Zoltan Varga [Fri, 17 Jun 2011 14:11:56 +0000 (16:11 +0200)]
Fix LLVM build.

12 years agoPut braces around code block to prevent variable declarations after statements. Fixes...
Jonathan Chambers [Fri, 17 Jun 2011 12:23:13 +0000 (08:23 -0400)]
Put braces around code block to prevent variable declarations after statements. Fixes MSVC build.

12 years agoUse wrappers for accessing socket errors. Cygwin does not have some errors in errno...
Jonathan Chambers [Fri, 17 Jun 2011 12:22:02 +0000 (08:22 -0400)]
Use wrappers for accessing socket errors. Cygwin does not have some errors in errno.h. Fixes Windows build.

12 years agoAdd test for bug 694908.
Eberhard Beilharz [Thu, 16 Jun 2011 18:27:41 +0000 (20:27 +0200)]
Add test for bug 694908.

12 years agoHandle paint exceptions, showing a red cross like .NET does. Fixes bug 694908.
Eberhard Beilharz [Thu, 16 Jun 2011 18:17:31 +0000 (20:17 +0200)]
Handle paint exceptions, showing a red cross like .NET does. Fixes bug 694908.

12 years agoFix crash when there's a \' in the arguments.
Gonzalo Paniagua Javier [Wed, 15 Jun 2011 19:34:25 +0000 (15:34 -0400)]
Fix crash when there's a \' in the arguments.

Fixes crash when calling Process.Start on a file with a ' in the path
when UseShellExecute is set to false.

Patch by Tom Philpot.

12 years ago[CSharpCodeGenerator] Output global:: if GlobalReference option set
Jeffrey Stedfast [Wed, 15 Jun 2011 16:25:23 +0000 (12:25 -0400)]
[CSharpCodeGenerator] Output global:: if GlobalReference option set

12 years ago[CSharpCodeGenerator] Don't ignore MemberAttributes.New for types
Jeffrey Stedfast [Wed, 15 Jun 2011 16:20:54 +0000 (12:20 -0400)]
[CSharpCodeGenerator] Don't ignore MemberAttributes.New for types

12 years ago[CSharpCodeGenerator] don't ignore Final attr on Fields
Jeffrey Stedfast [Wed, 15 Jun 2011 15:50:30 +0000 (11:50 -0400)]
[CSharpCodeGenerator] don't ignore Final attr on Fields

12 years agoApply a workaround for a gcc 4.6 problem on arm.
Zoltan Varga [Wed, 15 Jun 2011 15:30:56 +0000 (17:30 +0200)]
Apply a workaround for a gcc 4.6 problem on arm.

12 years agoRevert for commit 929c6bc9b6d76a273f251e6f5dfacac36e9c38bd
Jeffrey Stedfast [Wed, 15 Jun 2011 15:28:33 +0000 (11:28 -0400)]
Revert for commit 929c6bc9b6d76a273f251e6f5dfacac36e9c38bd

Aformentioned commit seems to break the mono build, reverted
for now.

12 years ago[dblinq] Fix compilation
Marek Habersack [Wed, 15 Jun 2011 10:06:28 +0000 (12:06 +0200)]
[dblinq] Fix compilation

12 years agoCorrectly use read cache buffer in full ast mode
Marek Safar [Wed, 15 Jun 2011 08:17:40 +0000 (09:17 +0100)]
Correctly use read cache buffer in full ast mode

12 years agoMerge pull request #117 from madewokherd/win32build
Rodrigo Kumpera [Tue, 14 Jun 2011 21:48:28 +0000 (14:48 -0700)]
Merge pull request #117 from madewokherd/win32build

Avoid references to pthread_t when building for win32.

12 years agoAvoid references to pthread_t when building for win32.
Vincent Povirk [Tue, 14 Jun 2011 21:23:38 +0000 (16:23 -0500)]
Avoid references to pthread_t when building for win32.

12 years agoTry to recover from unterminated string literal
Marek Safar [Tue, 14 Jun 2011 17:21:10 +0000 (18:21 +0100)]
Try to recover from unterminated string literal

12 years agoAdd async better expression converion
Marek Safar [Tue, 14 Jun 2011 14:12:26 +0000 (15:12 +0100)]
Add async better expression converion

12 years agoAdd warning for mistyped documentation type parameters
Marek Safar [Tue, 14 Jun 2011 11:39:45 +0000 (12:39 +0100)]
Add warning for mistyped documentation type parameters

12 years agoMerge pull request #115 from knocte/master
Rodrigo Kumpera [Tue, 14 Jun 2011 15:16:51 +0000 (08:16 -0700)]
Merge pull request #115 from knocte/master

Please close the bugzilla entry.

12 years agoSystem.Data.Linq: Fix DataContext.ExecuteQuery<T>(..) to allow primitive types for T
Andres G. Aragoneses [Tue, 14 Jun 2011 13:55:01 +0000 (14:55 +0100)]
System.Data.Linq: Fix DataContext.ExecuteQuery<T>(..) to allow primitive types for T

This should fix https://bugzilla.novell.com/show_bug.cgi?id=699803

12 years agoImplement async type inference
Marek Safar [Tue, 14 Jun 2011 10:23:51 +0000 (11:23 +0100)]
Implement async type inference

12 years agoSet "Encoder" property when Message was read from MessageEncoder.
Atsushi Eno [Tue, 14 Jun 2011 10:17:20 +0000 (19:17 +0900)]
Set "Encoder" property when Message was read from MessageEncoder.

12 years agofinally implement Message.ToString() as in expected form.
Atsushi Eno [Tue, 14 Jun 2011 09:43:29 +0000 (18:43 +0900)]
finally implement Message.ToString() as in expected form.

Regressions on this method has caused several unpredictable errors,
so I avoided this for somewhat long time...

12 years agoFlush some ongoing changes for XmlSerializer support in svcutil.
Atsushi Eno [Tue, 14 Jun 2011 08:58:26 +0000 (17:58 +0900)]
Flush some ongoing changes for XmlSerializer support in svcutil.

13 years agoMerge pull request #114 from XTZGZoReX/master
Zoltan Varga [Mon, 13 Jun 2011 21:51:05 +0000 (14:51 -0700)]
Merge pull request #114 from XTZGZoReX/master

Mono.Debugger.Soft: Really fix parameter types in MethodMirror.FullName.

12 years agoMono.Debugger.Soft: Really fix parameter types in MethodMirror.FullName.
XTZGZoReX [Mon, 13 Jun 2011 23:42:21 +0000 (01:42 +0200)]
Mono.Debugger.Soft: Really fix parameter types in MethodMirror.FullName.

13 years agoStream.CopyTo is nice to have everywhere
Jb Evain [Mon, 13 Jun 2011 21:05:54 +0000 (23:05 +0200)]
Stream.CopyTo is nice to have everywhere

13 years agoAllow extensions methods to be reused from other assemblies
Sebastien Pouliot [Mon, 13 Jun 2011 19:48:48 +0000 (15:48 -0400)]
Allow extensions methods to be reused from other assemblies

13 years agoAllow AssemblyRef flags to have at least ECMA's values. Fixes #684613.
Rodrigo Kumpera [Mon, 13 Jun 2011 18:56:49 +0000 (15:56 -0300)]
Allow AssemblyRef flags to have at least ECMA's values. Fixes #684613.

13 years agoAdd regression test
Rodrigo Kumpera [Mon, 13 Jun 2011 18:34:56 +0000 (15:34 -0300)]
Add regression test

13 years agoAleviate fencing on critical regions and allocation.
Rodrigo Kumpera [Mon, 13 Jun 2011 12:07:49 +0000 (09:07 -0300)]
Aleviate fencing on critical regions and allocation.

* sgen-gc.c: Critical regions only requires proper visibility
on the enter side. On the exit side all we need to make sure is
ordering.

* sgen-gc.c: Allocation don't need to have all stores imediatelly
visible, only properly ordered when it happens.

13 years agoFix release semantics to make sure it flushes the store buffer on ia32/amd64.
Rodrigo Kumpera [Mon, 13 Jun 2011 12:00:06 +0000 (09:00 -0300)]
Fix release semantics to make sure it flushes the store buffer on ia32/amd64.

* mono-memory-model.h: Release semantics must cause the store buffer
to be flushed on x86. Add variants of atomic_store that only provides
sequencing with previous stores.

13 years agoMerge pull request #113 from XTZGZoReX/master
Zoltan Varga [Mon, 13 Jun 2011 13:24:50 +0000 (06:24 -0700)]
Merge pull request #113 from XTZGZoReX/master

Mono.Debugger.Soft: MethodMirror.FullName should include parameters.

13 years agoMono.Debugger.Soft: MethodMirror.FullName should include parameters.
XTZGZoReX [Mon, 13 Jun 2011 13:50:09 +0000 (15:50 +0200)]
Mono.Debugger.Soft: MethodMirror.FullName should include parameters.

13 years agoFix 2.0 build.
Atsushi Eno [Mon, 13 Jun 2011 12:35:16 +0000 (21:35 +0900)]
Fix 2.0 build.

13 years agoImplement OnWriteBodyContents() and add message buffer support for RawMessage.
Atsushi Eno [Mon, 13 Jun 2011 11:05:27 +0000 (20:05 +0900)]
Implement OnWriteBodyContents() and add message buffer support for RawMessage.

13 years ago[asp.net] Construct properly rooted paths when assigning values from resources
Marek Habersack [Mon, 13 Jun 2011 10:38:05 +0000 (12:38 +0200)]
[asp.net] Construct properly rooted paths when assigning values from resources

13 years agoImplement async for lambda expressions
Marek Safar [Mon, 13 Jun 2011 09:02:27 +0000 (10:02 +0100)]
Implement async for lambda expressions

13 years agoUse TARGET_ANDROID instead of PLATFORM_ANDROID in one place.
Zoltan Varga [Sun, 12 Jun 2011 16:48:10 +0000 (18:48 +0200)]
Use TARGET_ANDROID instead of PLATFORM_ANDROID in one place.

13 years agoClean up the cross-compile configure.in code. Add a TARGET_ANDROID define.
Zoltan Varga [Sun, 12 Jun 2011 16:47:42 +0000 (18:47 +0200)]
Clean up the cross-compile configure.in code. Add a TARGET_ANDROID define.

13 years agoAdd an assert to detect TLS mismatches between the aot compilation and runtime enviro...
Zoltan Varga [Sun, 12 Jun 2011 16:46:16 +0000 (18:46 +0200)]
Add an assert to detect TLS mismatches between the aot compilation and runtime environment.

13 years agoFix a warning.
Zoltan Varga [Sun, 12 Jun 2011 16:46:08 +0000 (18:46 +0200)]
Fix a warning.

13 years agoFix namespace and avoid looping once ctor is found
Sebastien Pouliot [Sun, 12 Jun 2011 16:19:30 +0000 (12:19 -0400)]
Fix namespace and avoid looping once ctor is found

13 years agoAdd missing StoreStore barriers to the managed allocator.
Rodrigo Kumpera [Sun, 12 Jun 2011 15:52:54 +0000 (12:52 -0300)]
Add missing StoreStore barriers to the managed allocator.

13 years agoAdd new mono byte code for memory barriers
Rodrigo Kumpera [Sun, 12 Jun 2011 04:29:48 +0000 (01:29 -0300)]
Add new mono byte code for memory barriers

13 years agoX86 only needs StoreLoad and Full barriers, ignore the rest
Rodrigo Kumpera [Sun, 12 Jun 2011 01:27:06 +0000 (22:27 -0300)]
X86 only needs StoreLoad and Full barriers, ignore the rest

13 years agoExtract the code to emit a memory barrier. Add a memory_barrier_kind field to MonoIns...
Rodrigo Kumpera [Sun, 12 Jun 2011 01:05:19 +0000 (22:05 -0300)]
Extract the code to emit a memory barrier. Add a memory_barrier_kind field to MonoInst::backend.

13 years agoStoring the vtable pointer on the object header requires release semantics
Rodrigo Kumpera [Sat, 11 Jun 2011 18:47:41 +0000 (15:47 -0300)]
Storing the vtable pointer on the object header requires release semantics

13 years agoReplace an explicit memory barrier with mono_atomic_store_release. Thanks from x86...
Rodrigo Kumpera [Fri, 10 Jun 2011 18:10:12 +0000 (15:10 -0300)]
Replace an explicit memory barrier with mono_atomic_store_release. Thanks from x86-land.

13 years agoAdd the basics for memory model aware fencing.
Rodrigo Kumpera [Fri, 10 Jun 2011 18:06:23 +0000 (15:06 -0300)]
Add the basics for memory model aware fencing.

* mono-memory-model.h: New header that exports the basics
to will enable us to apply fencing only on archs that need it.

13 years ago[sgen] Don't check for parallel collector in mono_sgen_is_worker_thread().
Mark Probst [Fri, 10 Jun 2011 18:19:43 +0000 (20:19 +0200)]
[sgen] Don't check for parallel collector in mono_sgen_is_worker_thread().

A worker thread is a worker thread no matter whether the current
collector is parallel or not.  The check is unnecessary and caused a
crash when running mono on a non-existent executable.

13 years agoImplement assignment of await expression
Marek Safar [Fri, 10 Jun 2011 15:22:06 +0000 (16:22 +0100)]
Implement assignment of await expression

13 years agoFix bug #64424, XElement.SetElementValue should not remove its child elements
Jb Evain [Fri, 10 Jun 2011 09:49:55 +0000 (11:49 +0200)]
Fix bug #64424, XElement.SetElementValue should not remove its child elements

13 years agoAdd test for bug #644242
Jb Evain [Fri, 10 Jun 2011 09:49:19 +0000 (11:49 +0200)]
Add test for  bug #644242

13 years agoFix bug #699182, List indexer doesn't increment version
Jb Evain [Fri, 10 Jun 2011 09:11:23 +0000 (11:11 +0200)]
Fix bug #699182, List indexer doesn't increment version

13 years agoAdd test for #69918
Jb Evain [Fri, 10 Jun 2011 09:09:35 +0000 (11:09 +0200)]
Add test for #69918

13 years agoFix darwin-arm build.
Rodrigo Kumpera [Thu, 9 Jun 2011 01:59:51 +0000 (22:59 -0300)]
Fix darwin-arm build.

13 years agoAdd regression tests for delegate invokes
Rodrigo Kumpera [Fri, 10 Jun 2011 01:42:36 +0000 (22:42 -0300)]
Add regression tests for delegate invokes

13 years agoAdd test for missing binding behavior
Rodrigo Kumpera [Fri, 10 Jun 2011 01:38:54 +0000 (22:38 -0300)]
Add test for missing binding behavior

13 years agoHandle more delegate invoke cases.
Rodrigo Kumpera [Fri, 10 Jun 2011 00:42:05 +0000 (21:42 -0300)]
Handle more delegate invoke cases.

* marshal.c (mono_marshal_get_delegate_invoke): Handle
instance methods of valuetypes. Be either with a null target
of with the 'this' parameter been passed as part of the delegate
param list. The 'this' parameter can be either byval or byref.

* object.c (mono_delegate_ctor_with_method): Don't add unbox
wrappers when the 'this' parameter is a valuetype and is been
passed byref.

* mini-trampolines.c (mono_delegate_trampoline): Correctly
detect callvirt trampolines. Don't add unbox wrappers for
delegates with explicit 'this' passed byref. Disable optimized
tramps for delegates to instance methods that have no target.

Fixes #695978

13 years agoFixes Delegate.CreateDelegate with valuetype argument on the 'this' position.
Rodrigo Kumpera [Thu, 2 Jun 2011 19:21:07 +0000 (16:21 -0300)]
Fixes Delegate.CreateDelegate with valuetype argument on the 'this' position.

* Delegate.cs (CreateDelegate): Allow binding del(vt&) to an instance
method of vt.

* DelegateTest.cs: Add regression tests.

Fixes #695978

13 years ago[mdoc-update] Generate proper lower bounds for multi-dimensional arrays.
Jonathan Pryor [Thu, 9 Jun 2011 18:27:55 +0000 (14:27 -0400)]
[mdoc-update] Generate proper lower bounds for multi-dimensional arrays.

Consider the method `void M(double[,,])`. When attempting to import
documentation for this method, `mdoc-update` should generate the CREF
"M(System.Double[0:,0:,0:])", otherwise some documentation isn't imported.

Due to this (and `mcs /doc`-related fixes) and other changes, flush the
expected output as more docs are properly imported.

13 years agoCheck parameter names collision for members without block
Marek Safar [Thu, 9 Jun 2011 17:07:12 +0000 (18:07 +0100)]
Check parameter names collision for members without block

13 years agoPotential fix for #690944
Jérémie Laval [Thu, 9 Jun 2011 16:43:55 +0000 (18:43 +0200)]
Potential fix for #690944

13 years agoSetup status and scheduler correctly when calling RunSynchronously on a Task
Jérémie Laval [Thu, 9 Jun 2011 16:04:38 +0000 (18:04 +0200)]
Setup status and scheduler correctly when calling RunSynchronously on a Task

13 years agoRefactor MonoMac's MarkNSObjects substep so it can be reused in other products
Sebastien Pouliot [Thu, 9 Jun 2011 14:30:07 +0000 (10:30 -0400)]
Refactor MonoMac's MarkNSObjects substep so it can be reused in other products

13 years agoFix capturing of lambda's this under async context
Marek Safar [Thu, 9 Jun 2011 13:31:47 +0000 (14:31 +0100)]
Fix capturing of lambda's this under async context

13 years agoMerge pull request #110 from skolima/master
Marek Habersack [Thu, 9 Jun 2011 08:35:15 +0000 (01:35 -0700)]
Merge pull request #110 from skolima/master

I've missed several NotImplementedExceptions previously, this is now fixed.

13 years agoMerge pull request #111 from Unity-Technologies/master-debugger-attaching
Zoltan Varga [Wed, 8 Jun 2011 22:51:53 +0000 (15:51 -0700)]
Merge pull request #111 from Unity-Technologies/master-debugger-attaching

[SDB] Fixup connection-time messages on attaching.

13 years ago[SDB] Fixup connection-time messages on attaching.
Tak [Wed, 8 Jun 2011 14:10:23 +0000 (16:10 +0200)]
[SDB] Fixup connection-time messages on attaching.

 * mini/debugger-agent.c: Fixup connection-time messages on attaching.

License: MIT/X11

13 years agoFix a warning.
Zoltan Varga [Tue, 7 Jun 2011 19:56:01 +0000 (21:56 +0200)]
Fix a warning.

13 years agoFix the check for the -Wno-unused-but-set-variable gcc option.
Zoltan Varga [Tue, 7 Jun 2011 19:55:22 +0000 (21:55 +0200)]
Fix the check for the -Wno-unused-but-set-variable gcc option.

13 years ago[MSBuild] Finishing Microsoft.Build.Construction
Leszek 'skolima' Ciesielski [Sat, 4 Jun 2011 14:35:14 +0000 (16:35 +0200)]
[MSBuild] Finishing Microsoft.Build.Construction

No more NotImplementedException.

13 years agoUpdate gitignore
Marek Safar [Tue, 7 Jun 2011 16:49:06 +0000 (17:49 +0100)]
Update gitignore

13 years agoCorrectly calculate parsed array index for full AST
Marek Safar [Tue, 7 Jun 2011 16:46:47 +0000 (17:46 +0100)]
Correctly calculate parsed array index for full AST

13 years agoUpdate translationf files
Marek Safar [Mon, 6 Jun 2011 17:34:44 +0000 (18:34 +0100)]
Update translationf files

13 years agoDon't crash on invalid GetAwaiter
Marek Safar [Mon, 6 Jun 2011 15:45:43 +0000 (16:45 +0100)]
Don't crash on invalid GetAwaiter

13 years agoAdd more test files
Marek Safar [Mon, 6 Jun 2011 15:45:16 +0000 (16:45 +0100)]
Add more test files

13 years ago[697296] Fix documentation output for jagged arrays
Marek Safar [Mon, 6 Jun 2011 09:54:27 +0000 (10:54 +0100)]
[697296] Fix documentation output for jagged arrays

13 years agoAdd some caching for generic task
Marek Safar [Mon, 6 Jun 2011 09:23:08 +0000 (10:23 +0100)]
Add some caching for generic task

13 years agoUpdate test
Marek Safar [Mon, 6 Jun 2011 08:55:58 +0000 (09:55 +0100)]
Update test

13 years agoPersist more literals in full ast mode
Marek Safar [Mon, 6 Jun 2011 08:55:15 +0000 (09:55 +0100)]
Persist more literals in full ast mode

13 years agoUpdate LLVM backend to latest LLVM code.
Zoltan Varga [Sat, 4 Jun 2011 17:13:03 +0000 (19:13 +0200)]
Update LLVM backend to latest LLVM code.

13 years agoFix a corner case where an inlined bblock which had its next_bb set was the last...
Zoltan Varga [Sat, 4 Jun 2011 13:20:46 +0000 (15:20 +0200)]
Fix a corner case where an inlined bblock which had its next_bb set was the last bblock in a method. Fixes #693905.

13 years agoupdate tuner
Jb Evain [Sat, 4 Jun 2011 10:38:41 +0000 (12:38 +0200)]
update tuner

13 years agoMerge pull request #109 from rnagy/master
Zoltan Varga [Fri, 3 Jun 2011 23:01:00 +0000 (16:01 -0700)]
Merge pull request #109 from rnagy/master

Fix OpenBSD. KERN_PROC2 is not needed anymore here.

13 years agoAllow Android'd support_boehm=no to work.
Jonathan Pryor [Fri, 3 Jun 2011 21:17:59 +0000 (17:17 -0400)]
Allow Android'd support_boehm=no to work.

The AC_ARG_ENABLE(boehm, ..., ..., support_boehm=yes) resulted in
support_boehm always being 'yes', even for `--host=arm-linux-androidabi`,
which was not the intention. Using `support_boehm=${support_boehm:-yes}`
generates correct behavior.

13 years agoSimplify building with the Android NDK.
Jonathan Pryor [Fri, 3 Jun 2011 20:42:38 +0000 (16:42 -0400)]
Simplify building with the Android NDK.

Check --host against *-*-linux-android* for Android-specific configure fixes,
and improve **/Makefile.am to simplify Android support:

./configure \
--build=`./config.guess` \
--host=armv5-linux-androideabi \
--target=armv5-linux-androideabi \
--enable-nls=no --with-mcs-docs=no --enable-mcs-build=no \
CC="/path/to/ndk/arm-linux-androideabi-gcc --sysroot=/path/to/sysroot" \
AR="..." AS="..." CPP="..." CXX="..." LD="..." RANLIB="..." STRIP="..."
CFLAGS="-DARM_FPU_NONE=1" CXXFLAGS="-DARM_FPU_NONE=1"

See also Android NDK docs/STANDALONE-TOOLCHAIN.html.

The Android NDK/bionic is "interesting", in that it's lacking header files and
macros normally present on Linux which otherwise break the build (e.g. no
<link.h> which breaks Boehm support).  Using --host with an android target
works around the known issues, simplifying the building of libmonosgen-2.0.so
with the Android NDK toolchain.

13 years agoFix parsing of generic partial methods
Marek Safar [Fri, 3 Jun 2011 13:32:54 +0000 (14:32 +0100)]
Fix parsing of generic partial methods

13 years agoRemove gitattributes
Marek Safar [Fri, 3 Jun 2011 10:02:15 +0000 (11:02 +0100)]
Remove gitattributes