Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-14 Thread Øyvind Harboe
Worked. Committed. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-13 Thread David Brownell
On Tuesday 13 October 2009, Øyvind Harboe wrote: > On Tue, Oct 13, 2009 at 10:47 AM, David Brownell wrote: > > On Monday 12 October 2009, David Brownell wrote: > >> Something needs to add a "-I$(SRCDIR)", or equivalent, to > >> the options used to invoke the assembler. > > > > Looks like the src/t

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-13 Thread Øyvind Harboe
On Tue, Oct 13, 2009 at 10:47 AM, David Brownell wrote: > On Monday 12 October 2009, David Brownell wrote: >> Something needs to add a "-I$(SRCDIR)", or equivalent, to >> the options used to invoke the assembler. > > Looks like the src/target/Makefile.am is already set up > with a boatload of "-I.

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-13 Thread David Brownell
On Monday 12 October 2009, David Brownell wrote: > Something needs to add a "-I$(SRCDIR)", or equivalent, to > the options used to invoke the assembler. Looks like the src/target/Makefile.am is already set up with a boatload of "-I..." options, which omit the target directory ... please try adding

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-12 Thread David Brownell
On Monday 12 October 2009, Øyvind Harboe wrote: > I doesn't help if I specify the absolute path to configure. > > It says "current location", not "current directory". I"current location" > the same as "present working directory" or the location of the .S file? > > It builds fine when build dir ==

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-12 Thread Øyvind Harboe
On Mon, Oct 12, 2009 at 8:44 PM, David Brownell wrote: > On Monday 12 October 2009, Øyvind Harboe wrote: >> > Maybe a "-I..." would help.  I tested with "--disable-shared" when >> > I configured, FWIW, and don't recall those ".." components. >> >> I'm configuring using >> >> cd build >> ../openocd

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-12 Thread David Brownell
On Monday 12 October 2009, Øyvind Harboe wrote: > > Maybe a "-I..." would help.  I tested with "--disable-shared" when > > I configured, FWIW, and don't recall those ".." components. > > I'm configuring using > > cd build > ../openocd/configure > > > Could that be the problem? I didn't kn

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-12 Thread Øyvind Harboe
On Mon, Oct 12, 2009 at 1:11 PM, David Brownell wrote: > On Monday 12 October 2009, Øyvind Harboe wrote: >> I'm not sure why I get this error. >> >> If I modify xscale_debug.S to use absolute path, >> then it builds fine. >> >> make[3]: Entering directory `/home/oyvind/workspace/build/src/target'

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-12 Thread David Brownell
On Monday 12 October 2009, Øyvind Harboe wrote: > I'm not sure why I get this error. > > If I modify xscale_debug.S to use absolute path, > then it builds fine. > > make[3]: Entering directory `/home/oyvind/workspace/build/src/target' > /bin/sh ../../libtool --mode=compile gcc -std=gnu99 -g -O2

[Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-12 Thread Øyvind Harboe
I'm not sure why I get this error. If I modify xscale_debug.S to use absolute path, then it builds fine. make[3]: Entering directory `/home/oyvind/workspace/build/src/target' /bin/sh ../../libtool --mode=compile gcc -std=gnu99 -g -O2 -c -o xscale_debug.lo ../../../openocd/src/target/xscale_debug