aboutsummaryrefslogtreecommitdiff
path: root/mig.in
Commit message (Collapse)AuthorAgeFilesLines
* Drop -undef -ansi from cpp flagsSergey Bugaev2023-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | Since GNU Mach commit d30481122a5d24ad6b921062f93b9172ef922fc3, i386/machine_types.defs defines types based on defined(__x86_64__). Supressing the built-in macro definitions will now result in the wrong type being silently selected. -undef was initially introduced in commit 78b6a7665db7b2eae367e17102821cbdca231d19 without much of an explanation. -ansi was introduced in commit 6940fb91859e46b2e96a331a029f2dc2a0ee51c9 "to avoid -Di386=1 and the like". Since glibc has been using MIG with CPP set to a custom GCC invocation which did *not* use either flag, it appears that everything works well enough even without them. On the other hand, not having __x86_64__ defined most definetely causes issues for anything that does not set a custom CPP when invoking MIG (i.e., most users). Other built-in definitions could be used in the future in a similar way (e.g. on other architectures); it's really more of a coincidence that they have not been used until now, and things kept working with -undef. Message-Id: <20230212111044.610942-8-bugaevc@gmail.com>
* Make the installation tree relocatable.Thomas Schwinge2012-03-191-1/+7
| | | | * mig.in: Compute a relative path from the mig to migcom.
* 2007-04-03 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-04-031-2/+2
| | | | * mig.in (--help): Document the ``-i'' option better.
* 2006-12-03 Leonardo Lopes Pereira <leonardolopespereira@gmail.com>Thomas Schwinge2006-12-031-2/+0
| | | | | | | | | | | | [patch #5018 --- ``Remove support to msg_send interface.''] * global.c (UseMsgRPC): Removed definition. * global.h (UseMsgRPC): Removed declaration. * mig.in (--help): Removed information about `-r' and `-R' options. * migcom.c (parseArgs): Changed the switches `-r' and `-R' to deal with the absence of obsolete the send/receive pairs. * user.c (WriteRoutine): Adapted the use of `UseMsgRPC' as if it was defined to `TRUE'. (WriteMsgSendReceive): Removed, since it is not used anymore.
* 2006-11-29 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2006-11-291-13/+9
| | | | * mig.in: Adopt to the Autoconf update.
* 2005-05-27 Thomas Schwinge <schwinge@nic-nac-project.de>Alfred M. Szmidt2005-06-061-5/+31
| | | | | | * mig.in (prj_quote_sh): New shell funcion; copied from Paul Jarc's prjlibs. Use that function to properly quote strings in $cppflags that contain whitespace.
* 2005-04-09 Thomas Schwinge <schwinge@nic-nac-project.de>Alfred M. Szmidt2005-05-021-1/+1
| | | | * mig.in: Handle the preprocessor option '-isystem ...' correctly.
* 2001-12-28 Roland McGrath <roland@frob.com>Roland McGrath2001-12-311-1/+1
| | | | * mig.in (default_cpp): Add -ansi to avoid -Di386=1 and the like.
* 2001-12-28 Roland McGrath <roland@frob.com>Roland McGrath2001-12-291-2/+2
| | | | | * mig.in (default_cpp): Put -undef here. (cppflags): Not here.
* 2001-10-03 Roland McGrath <roland@frob.com>Roland McGrath2001-10-031-1/+1
| | | | * mig.in (cppflags): Start with -undef.
* 2001-06-07 Roland McGrath <roland@frob.com>Roland McGrath2001-06-081-1/+6
| | | | | | | | | | | | | | * header.c (WriteRoutineList): New function. * write.h: Declare it. * migcom.c (RoutineListFileName): New variable. (parseArgs): New option -list to set it. (main): If set, write the named output file with WriteRoutineList. * mig.in: Grok -list and put it in the usage message. * global.c (DefaultFiles): New variable, boolean initialized to true. (more_global): Leave null file name variables alone if it's false. * global.h (DefaultFiles): Declare it. * migcom.c (parseArgs): New option -n clears it. * mig.in: Grok -n (pass it through) and put it in the usage message.
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-1/+26
| | | | | | | | * mig.in: Grok --help. 1999-05-22 Roland McGrath <roland@baalperazim.frob.com> * configure.in: Add AC_PROG_CPP. * mig.in (CC): Set this before default_cpp, which might use its value.
* 1999-04-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-04-141-1/+6
| | | | | | * mig.in (default_cpp, default_cc): New variables, @ expansions here. (CC): Make sure it's defined, in case ${CPP} refers to ${CC}. (cpp): Use ${default_cpp} instead of the literal multiword contents.
* 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-201-0/+5
| | | | | * mig.in (PACKAGE, VERSION): New variables, substituted by configure. Grok --version.
* 1998-09-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-09-061-1/+1
| | | | * mig.in (cpp): Add `-x c' to TARGET_CC command.
* 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-191-9/+12
| | | | | | | | | Moved mig out of gnumach into standalone distribution with vanilla autoconf/automake build arrangement. * configure.in, Makefile.am: New files. * mig.in (prefix, exec_prefix, libexecdir): New vars set by configure. (migcom): Find migcom in ${libexecdir}, and use @MIGCOM@ for its name. (cpp): Use @TARGET_CC@ -E instead of @CPP@.
* mig.sh renamed to mig.inRoland McGrath1998-07-191-0/+95