sim/erc32/Makefile.in patch - was Re: GDB 7.5.91 available for testing

Joel Sherrill joel.sherrill@oarcorp.com
Wed Mar 13 14:42:00 GMT 2013


Hi

The sim/erc32 will not build outside the source tree. It is
missing a -I. to find config.h in the build tree.

mkdir b--gdb
cd b-gdb
../gdb-7.5.91/configure --target=sparc-rtems4.11 \
    --prefix=/home/joel/test-gdb/install/ \
    --enable-sim --enable-sim-hardware  \
     --enable-timebase --enable-sim-trace >c.log 2>&1 && \
     make >b.log 2>&1 && \
    make install >i.log 2>&1

Should be enough to reproduce it.

Can you commit this to the branch and head please?

2013-03-13  Joel Sherrill <joel.sherrill@oarcorp.com>

         * Makefile.in: Include build directory in search path to find
         config.h

Thanks.

On 3/12/2013 6:17 PM, Joel Brobecker wrote:
> Hello,
>
> I have just finished creating the gdb-7.5.91 pre-release.
> It is available for download at the following location:
>
>      ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-7.5.91.tar.bz2
>
> A gzip'ed version is also available: gdb-7.5.91.tar.gz.
>
> Please give it a test if you can and report any problems you might find.
>
> On behalf of all the GDB contributors, thank you!
>


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

-------------- next part --------------
2013-03-13  Joel Sherrill <joel.sherrill@oarcorp.com>

	* Makefile.in: Include build directory in search path to find
	config.h

Index: sim/erc32/Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/erc32/Makefile.in,v
retrieving revision 1.12
diff -u -r1.12 Makefile.in
--- sim/erc32/Makefile.in	1 Jan 2013 06:41:35 -0000	1.12
+++ sim/erc32/Makefile.in	13 Mar 2013 14:18:43 -0000
@@ -45,7 +45,7 @@
 # There is AC_C_BIGENDIAN but it doesn't handle float endianness.
 # [Are int/float endians every different on a sparc?]
 end: $(srcdir)/end.c
-	$(CC_FOR_BUILD) $(srcdir)/end.c -o end
+	$(CC_FOR_BUILD) -I. $(srcdir)/end.c -o end
 end.h: end
 	./end > end.h
 


More information about the Gdb mailing list