On Wed, 2013-10-02 at 21:32 -0400, David Malcolm wrote: [...] > * I'm running into configure/Makefile issues with > --enable-host-shared, where CFLAGS contains -fPIC, but only on > invocations of leaf Makefiles, not on recursive "make" - so it works if > you cd into $builddir/gcc and make (and so on for libcpp etc), but not > from the top-level builddir. Hence building the thing is currently > unreliable (but again, I'm interested in feedback rather than > perfection). Help with configure/Makefiles would be appreciated!
I believe I've fixed this issue as of this commit on my "dmalcolm/jit" branch: http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=11f23e6248339c3bad498a7618cfde96338a1d3c so it should now be possible to build the branch by configuring with: --enable-host-shared --enable-languages=jit and then simply doing a "make" in the top-level build dir (with appropriate -jN options, of course).