Three pieces of advise (I know I'll sound like a kindergarten teacher,
sorry about that) :
- Do things one step at a time. (Try something simple. If that works,
  move on, etc.) Otherwise you end up debugging several problems at the
  same time.
- Report to the list about these steps. This will allow others to
  help you out.
- Try to use the debugger (the gdb/gdbserver pair). Remote debugging
  actually works very well.

        Danny

On Fri, 2009-04-17 at 20:29 +0200, Johnny Willemsen wrote:
> Hi,
> 
> > The solution to build gdbserver cleanly is not hard, see below. After
> > confirmation from you, I'll submit this to the appropriate gdb mailing
> > list.
> 
> We have spend most of the time today to try to get an ACE test running, but
> they crash at start of the application. Continuing that next week. I think
> you should forward this to the gdb mailing list. 
> 
> Johnny
> 
> > 
> >     Danny
> > 
> > dannypc: {621} diff -c configure.srv.orig configure.srv
> > *** configure.srv.orig  2009-04-17 20:04:04.000000000 +0200
> > --- configure.srv       2009-04-17 19:49:46.000000000 +0200
> > ***************
> > *** 65,70 ****
> > --- 65,79 ----
> >                         srv_linux_regsets=yes
> >                         srv_linux_thread_db=yes
> >                         ;;
> > +   i[34567]86-*-mingw*ce*)
> > +                       srv_regobj=reg-i386.o
> > +                       srv_tgtobj="win32-low.o win32-i386-low.o"
> > +                       srv_tgtobj="${srv_tgtobj} wincecompat.o"
> > +                       # hostio_last_error implementation is in
> > win32-low.c
> > +                       srv_hostio_err_objs=""
> > +                       srv_mingw=yes
> > +                       srv_mingwce=yes
> > +                       ;;
> >     i[34567]86-*-mingw*)        srv_regobj=reg-i386.o
> >                         srv_tgtobj="win32-low.o win32-i386-low.o"
> >                         srv_mingw=yes
> > dannypc: {622}
> > 
> > On Fri, 2009-04-17 at 09:05 +0200, Johnny Willemsen wrote:
> > > Hi,
> > >
> > > Thanks, we are going to compile ACE/TAO for cegcc x86 and see if we
> > can run
> > > one of our basic tests on the target. We will keep you informed on
> > the
> > > results.
> > >
> > > Marcel, can you compile your ACE tree and try OS_Test on the x86
> > target?
> > >
> > > Johnny
> > >
> > > > Everything except src/profile compiles on my system.
> > > >
> > > > The profile stuff has at least two issues. The easy one is a small
> > > > configure issue related to underscores.
> > > >
> > > > The other is that mcount.c contains ARM assembler, not x86
> > assembler.
> > > >
> > > > Note that src/profile is rather funky stuff, I'd prefer to stay
> > away
> > > > from it until we're sure that all the rest works.
> > > >
> > > > I'm uploading a 57574147 byte file (yes, 57MB) to
> > > >   http://danny.backx.info/download/cegcc/x86mingw32ce-linux.tar.gz
> > > >
> > > > This is the contents of a fresh build, installed to
> > /opt/x86mingw32ce .
> > > >
> > > > This doesn't include gdb (gdb isn't in our SVN any more, its
> > regular
> > > > releases are good enough for cegcc-arm).
> > > >
> > > > The gdb is in a separate file (11183360 bytes):
> > > >   http://danny.backx.info/download/cegcc/x86mingw32ce-gdb-
> > linux.tar.gz
> > > >
> > > > gdbserver isn't in that yet, I still have an issue with it.
> > > >
> > > >         Danny
> > > >
> > > > On Thu, 2009-04-16 at 20:16 +0200, Johnny Willemsen wrote:
> > > > > Hi,
> > > > >
> > > > > > That would require "a bit" of work to hook the binutils build
> > > > system
> > > > > > into src/mingw. I don't think that this would be a very good
> > idea,
> > > > this
> > > > > > is too low level stuff.
> > > > > >
> > > > > > I've just committed a patch to SVN, can you review ?
> > > > >
> > > > > Looks ok. I will do a svn update tomorrow morning and do a
> > complete
> > > > fresh
> > > > > build.
> > > > >
> > > > > Johnny
> > > > >
> > > > --
> > > > Danny Backx ; danny.backx - at - scarlet.be ;
> > http://danny.backx.info
> > >
> > >
> > > ---------------------------------------------------------------------
> > ---------
> > > Stay on top of everything new and different, both inside and
> > > around Java (TM) technology - register by April 22, and save
> > > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > > 300 plus technical and hands-on sessions. Register today.
> > > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > > _______________________________________________
> > > Cegcc-devel mailing list
> > > Cegcc-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> > >
> > --
> > Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
> 
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Cegcc-devel mailing list
> Cegcc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> 
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to