Commit Graph
263 Commits
Author SHA1 Message Date
Zoltan Varga f0d2ee46f8 Merge pull request #1275 from ranma42/fix-lib64
Fix build with lib64 folder for arch-specific libraries
2014-09-11 20:57:48 -04:00
Andrea Canciani d2f391c80c Do not hardcode lib path
The changes from 3408b8e5f1 cause
regressions in distros which do not use lib as folder for
arch-specific libraries, like Fedora x86_64.

Instead, reloc_libdir should be used (as in data/mono.pc.in).

This change is released under the MIT/X11 license.
2014-09-11 08:50:47 +02:00
Andrea Canciani 39108b009f Improve libgdiplus path handling
Since libgdiplus is not installed together with Mono, it should not be
assumed to be in the same prefix.

The new policy for the --with-libgdiplus configure option is the
following:

 - --with-libgdiplus=/absolute/path/to/libgdiplus.{so,dylib}

   both during build/check and after installation Mono will try to use
   the specified libgdiplus library; the rationale is that when an
   absolute path is given, it can be assumed to be the full path to
   the library that is already installed (possibly in a non-default
   path).

 - default, --with-libgdiplus=no, --with-libgdiplus=installed

   both during build/check and after installation Mono will try to use
   a system-wide libgdiplus library, that is assumed to reside in the
   paths that are automatically searched by the dynamic linker; the
   library is supposed to be already installed in the default path and
   to be useable both during the build and afterwards.

 - --with-libgdiplus=sibling, --with-libgdiplus=yes

   during build/check Mono will try to use the libgdiplus library that
   is assumed to be in the sibling folder (../libgdiplus), but after
   the installation it will try to use a system-wide libgdiplus
   library, that should be in the paths that are automatically
   searched by the dynamic linker; the assumption is that the library
   is not yet installed, but it will go to the default prefix after
   installing it.

 - --with-libgdiplus=../some/relative/path/to/libgdiplus.{so,dylib,la}

   during build/check Mono will try to use the specified libgdiplus
   library, but after the installation it will try to use a
   system-wide libgdiplus library, that should be in the paths that
   are automatically searched by the dynamic linker; the assumption is
   that the library is not yet installed, but it will go to the
   default prefix after installing it.
2014-07-01 14:25:21 +02:00
Andrea Canciani 3408b8e5f1 Use Mono prefix for libMonoPosixHelper
The libMonoPosixHelper is installed together with Mono, hence its path
in the configuration should be relative to the Mono prefix.

It was previously assumed to reside in a system path, so the the
dynamic linker would find it anyway.

This patch is based on the one included in bug #18555 (by Gaëtan
Lehmann <[email protected]>), but it also updates
runtime/Makefile.am to keep runtime/etc/mono/config consistent.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=18555
2014-07-01 14:25:12 +02:00
Andrea Canciani c9304c4262 Fix checking when libgdi is configured as "sibling"
When libgdiplus is configured as sibling, it is available in the
libgdiplus_loc path. This path was added to runtime/mono/config, but
it was later overridden by the prefix-based path.

Using the same approach as for libMonoPosixHelper fixed the lookup of
the library (performed, for example, when testing
MonoTests.System.Drawing without installing libgdiplus).

This change is released under the MIT license.
2014-05-21 19:28:20 +02:00
Andrea Canciani e3592a0091 Fix 'make check' when mono is not installed
When the xbuild_12 profile is verified, the corlib from the net_4_5
profile should be in the MONO_PATH, otherwise the verification will
fail with:

The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `.../mono/4.5/mscorlib.dll' directory.
2014-04-23 22:53:14 +02:00
Aaron Bockover a66f333246 profiles: define xammac (Xamarin.Mac) profile
Based on the Mobile profile and modeled after
the MonoDroid profile.
2014-01-16 14:16:59 -05:00
Michael Hutchinson 425fdc03fa [xbuild] Build & install MSBuild 12.0 assemblies 2014-01-07 18:39:27 -05:00
Alex Rønne Petersen 457a8453f7 Merge pull request #587 from madewokherd/gdipdllmap
Ignore the gdiplus dllmap on Windows.
2013-10-21 10:00:26 -07:00
Etienne CHAMPETIER ae17ceeecc [Install] Add Compat.browser files for net_4_0 and net_4_5
Without that referencing browser 'Default' (parentID="Default")
in a .browser file make the app throw exceptions here
mcs/class/System.Web/System.Web.Configuration_2.0/nBrowser/Build.cs#L206

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2013-09-20 14:19:40 +02:00
Zoltan Varga 3dafb861ab Remove moon support from the build system. 2013-08-30 05:36:07 +02:00
Elijah Taylor 1e726ce7a3 NaCl runtime fixes
- fix compile/runtime issues caused by upstream changes
- add NaCl glibc support
- various changes to support running tests in NaCl glibc
  from 'make check'
2013-04-07 09:45:45 +02:00
Vincent Povirk 3a44c65b03 Ignore the gdiplus dllmap on Windows. 2013-03-02 13:54:47 -06:00
Marek Safar 23a47db274 Enable stricter verifier checks to uncover more codegen bugs 2013-02-15 23:03:47 +01:00
Zoltan Varga 052ba601f3 Remove automake macros obsoleted by automake 1.13. Fixes #9324. 2013-01-08 23:29:31 +01:00
Rodrigo Kumpera cf754cdb63 Tweak the Makefiles to enable monotouch builds to compile less stuff.
* Makefile.am: Make it possible to only produce the monotouch
	byproducts.
2012-11-14 16:09:06 -05:00
Marek Safar e19918b162 Add monotouch runtime profile 2012-10-22 13:19:35 +01:00
Marek Safar e73c8d6184 Don't print mcs directory in silent mode 2012-10-19 13:43:25 +01:00
Zoltan Varga b5afc5a2ae Fix up class library test so they at least compile when running make check in runtime/. Add a 'test' target to compile them. 2012-10-18 16:02:19 +02:00
Marek Safar 92fc3b81e5 Be more quiet when building managed code 2012-10-18 13:45:52 +01:00
Marek Safar 94d0d83018 Disable all profiles when mcs build is disabled 2012-10-18 13:45:51 +01:00
Marek Safar 5be27fc188 Allow configure mono with any profile to be disabled 2012-08-13 16:33:38 +01:00
Marek Safar fe19bd6187 Disable verifier checks on 4.0 profile 2012-06-01 09:47:47 +01:00
Marek Habersack 85153dad0d Unbreak System.Web tests in the 4.5 profile 2011-10-17 00:21:48 +02:00
Marek Safar 3ecb5142f6 Introduce separate .net 4.5 profile 2011-09-23 19:37:04 +01:00
Paolo Molaro d75c928423 Added the new mobile profile to the build. 2011-09-15 17:42:29 +02:00
Alan McGovern 17143e4877 [moonlight] Ensure we don't double-build the "build" profile now 2011-04-28 10:46:32 +01:00
Alan McGovern b07a2f64bb [moonlight] Build mcs.exe as part of the moonlight build
Neither moonlight itself or moonlight applications can be built
with an mcs.exe older than 2.12. As such, to allow users of the moonlight
SDK to build moonlight applications without having a system mono from
git we need to build the compiler ourselves. This will be bundled in the
SDK. We also use it to build all our managed libs as part of the regular
moonlight build.
2011-04-26 16:43:01 +01:00
Marek Safar 46dd06e61e Fix few more mcs locations 2011-02-09 14:16:04 +00:00
Marek Habersack f42c415b09 [build] Added runtime/_tmpinst/mcs script to unbreak system.web tests for 2.0
Also made gmcs force -sdk=2 since -sdk=4 is now the default. _tmpinst/mcs is needed because
the CSharp CodeDOM provider invokes it and without the script in place it will launch the
first mcs available in the path.
2011-02-09 02:36:00 +01:00
Rolf Bjarne Kvinge b36f4c2dd9 Moonlight build: use system tools to compile. This means we don't need a bootstrapping profile either 2011-02-08 01:08:09 +01:00
Marek Safar 63f3a0c93f Remove more *mcs.exe references 2011-01-20 09:30:40 +00:00
Marek Habersack 92df0458c0 [runtime] Include the al script in temporary installation directory
This is needed as the 4.0 profile calls 'al' (which is defaults to 4.0) and not
'al2' and if Mono older than 2.8 is installed on the machine, 'al' coming from it
will fail to work with the current Mono and thus some tests will fail.

The commit should fix the 300+ failing tests on the build bots.
2011-01-05 12:06:30 +01:00
Andreia Gaita cbeaf9a556 [Moon] include cecil when building mono for moon 2010-12-03 18:12:44 +00:00
Andreia Gaita 23f5d3a41e [Moon] Speed up the moonlight build by stripping it down to the bare basics 2010-11-24 04:17:58 +00:00
Jb Evain 3dc0642ef5 Enable the mcs monodroid build from mono's configure 2010-09-08 18:48:33 +02:00
Andreia Gaita c4695a800c * configure.in: Add an extra "only" option to --with-moonlight. This
will configure mono to only build moonlight-specific stuff and
nothing else. --with-moonlight=yes now just adds the moon profile to
the build

* Makefile.am: Add moonlight-specific rules that only build what
moon needs. These are called directly from moon, to do fast
moon+mono+mcs builds

* runtime/Makefile.am: Change the build rules to have a moonlight-only
build configuration, as well as a normal build that optionally includes
it

svn path=/trunk/mono/; revision=155093
2010-04-08 20:06:16 +00:00
Raja R Harinath 83f66481d7 * runtime/Makefile.am ($(tmpinst)/bin/dmcs): Add.
svn path=/trunk/mono/; revision=154924
2010-04-07 09:40:09 +00:00
Raja R Harinath fe9b266b1e update monodis-wrapper.in to reflect new libmono location
svn path=/trunk/mono/; revision=154429
2010-03-30 08:58:36 +00:00
Jb Evain 8e186eaaef rename net_2_1 to moonlight
svn path=/trunk/mono/; revision=153639
2010-03-16 08:32:57 +00:00
Jeffrey Stedfast fe8f5908d0 2010-03-02 Rolf Bjarne Kvinge <[email protected]>
* Makefile.am:
	* mono/Makefile.am: Only build some subdirs when configured for
	moonlight.

	* configure.in: If configured --with-moonlight=yes, define MOONLIGHT and
	use that variable instead of INSTALL_2_1.

	* runtime/Makefile.am: If configured for moonlight, only build
	net_2_1_raw.


svn path=/trunk/mono/; revision=152880
2010-03-02 21:31:41 +00:00
Gonzalo Paniagua Javier 795b738e43 2009-11-20 Gonzalo Paniagua Javier <[email protected]>
So long PLATFORM_WIN32. Welcome HOST_WIN32 and TARGET_WIN32.

	* runtime/Makefile.am:
	* scripts/Makefile.am:
	* mono/dis/Makefile.am:
	* mono/metadata/domain.c:
	* mono/metadata/security.c:
	* mono/metadata/assembly.c:
	* mono/metadata/coree.c:
	* mono/metadata/coree.h:
	* mono/metadata/threadpool.c:
	* mono/metadata/class-internals.h:
	* mono/metadata/Makefile.am:
	* mono/metadata/gc.c:
	* mono/metadata/class.c:
	* mono/metadata/appdomain.c:
	* mono/metadata/image.c:
	* mono/metadata/threads.c:
	* mono/metadata/metadata-internals.h:
	* mono/metadata/monitor.c:
	* mono/metadata/attach.c:
	* mono/metadata/marshal.c:
	* mono/metadata/threads-types.h:
	* mono/metadata/mono-config.c:
	* mono/metadata/boehm-gc.c:
	* mono/metadata/rand.c:
	* mono/metadata/icall.c:
	* mono/metadata/reflection.c:
	* mono/metadata/socket-io.c:
	* mono/io-layer/socket-wrappers.h:
	* mono/io-layer/io-layer.h:
	* mono/io-layer/Makefile.am:
	* mono/monograph/Makefile.am:
	* mono/mini/method-to-ir.c:
	* mono/mini/debugger-agent.c:
	* mono/mini/mini-exceptions.c:
	* mono/mini/Makefile.am:
	* mono/mini/aot-runtime.c:
	* mono/mini/image-writer.c:
	* mono/mini/mini-windows.c:
	* mono/mini/aot-compiler.c:
	* mono/mini/dwarfwriter.c:
	* mono/mini/mini-ppc.c:
	* mono/mini/mini-ppc.h:
	* mono/utils/mono-time.c:
	* mono/utils/mono-membar.h:
	* mono/utils/mono-poll.h:
	* mono/tests/Makefile.am:
	* mono/interpreter/Makefile.am:
	* configure.in:
	* support/Makefile.am:


svn path=/trunk/mono/; revision=146644
2009-11-20 21:39:06 +00:00
Marek Habersack fb6dbf5086 Forward port of r146378
svn path=/trunk/mono/; revision=146386
2009-11-17 23:28:09 +00:00
Marek Safar d91b275af8 Removed bin/mcs
svn path=/trunk/mono/; revision=143253
2009-10-02 08:13:01 +00:00
Marek Safar 6e7b6211af Too early removal of etc/mono/1.0/machine.config
svn path=/trunk/mono/; revision=143048
2009-09-30 16:56:14 +00:00
Marek Safar e05d92ad86 Removed etc/mono/1.0/machine.config symlink
svn path=/trunk/mono/; revision=143024
2009-09-30 15:22:32 +00:00
Marek Safar 84ba05db10 2009-09-30 Marek Safar <[email protected]>
* runtime/Makefile.am, configure.in: Don't build 1.1 profile


svn path=/trunk/mono/; revision=143010
2009-09-30 14:20:41 +00:00
Jb Evain a253f07c66 2009-07-24 Jb Evain <[email protected]>
* configure.in
	* runtime/Makefile.am
	* data/Makefile.am: create a and populate a configuration folder
	for the net_4_0 profile.

svn path=/trunk/mono/; revision=138645
2009-07-24 16:49:29 +00:00
Jb Evain 6b1e826209 2009-07-21 Jb Evain <[email protected]>
* configure.in: add a --with-monotouch option.
	* runtime/Makefile.am: use it to trigger the mcs monotouch build.


svn path=/trunk/mono/; revision=138308
2009-07-21 16:04:23 +00:00
Marek Safar 56fe0973cf 2009-06-10 Marek Safar <[email protected]>
* runtime/Makefile.am, configure.in: Make net_4_0 profile optional.


svn path=/trunk/mono/; revision=135876
2009-06-10 18:36:12 +00:00