This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Hurd port for gcc go PATCH 1-4(23)
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Svante Signell <svante dot signell at gmail dot com>
- Cc: bug-hurd <bug-hurd at gnu dot org>, Debian GCC Maintainers <debian-gcc at lists dot debian dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 7 Dec 2016 15:08:13 +0100
- Subject: Re: Hurd port for gcc go PATCH 1-4(23)
- Authentication-results: sourceware.org; auth=none
- References: <20161126231752.GH2658@var.home> <1480264432.24382.154.camel@gmail.com> <20161127170215.GC8854@var.home> <1481118755.9077.9.camel@gmail.com>
Svante Signell, on Wed 07 Dec 2016 14:52:35 +0100, wrote:
> Since go does not have a preprocessor allowing conditional code paths this is
> how it should be done (and as I did):
> http://blog.ralch.com/tutorial/golang-conditional-compilation/
Ok, but then I'd say move the function which change to a separate file,
so that the other functions are kept shared.
Otherwise it'll be tedious to maintain.
Samuel