Re: Something new for FUSE
- From: "Mentore Siesto" <mentore.eCSTeam@xxxxxxxxxxx>
- Date: 09 Nov 2008 08:31:56 GMT
Tu, Dave Yeo <dave.r.yeo@xxxxxxxxx> hai scritto questo in data Sun, 9
Nov 2008 02:17:43 UTC:
On 11/08/08 01:41 pm, Heiko Nitzsche wrote:
Now I'm stuck. I think I should try a disassembler, but what are the
options with gcc 4.3.2?
Try to compile and link with -Zomf, also enable debug info with -g.
Then you can start the program in IBM debugger (if you have it) and
step through the source code.
You only have to link with -Zomf, much simpler as compiling with -Zomf
will create the wrong static libs. Either run configure LDFLAGS=-Zomf or
make LDFLAGS=-Zomf. Also make sure that debugging is turned on in
configure or add -g to CFLAGS and LDFLAGS.
If you don't have an IBM debugger there is
Note also that 4.3.2 might be missing some debug info, that's what all
those undefined stabs messages are about. You'd be better trying with
3.3.5, then when working try 4.3.2. 4.3.2 still has quite a few issues.
Didn't knew about these issues, I hope Paul will eventually fix them.
In the meantime I checked the Makefile: it didn't contain -g for
compiler/linker flags, but did correctly add -Zomf to LDFLAGS.
I'm about to try and make fuse with gcc 3.3.5 and see what happens
with sd386, because (for now) I have no time to install VisualAge,
correct the SOM DLLs with the correct ones (eCS) and install all VACPP
An alternative would be using gdb. There was a PMGDB around somewhere
but I'm not sure if it still works. gdb is the GNU commandline debugger.
Can't remember if it comes with the GCC 3.3.5 package or if you need to
grab it from Hobbes (should be in the EMX packages).
gdb last worked correctly with gcc 2.8.1 so it is not an option. (unless
somebody wants to port a newer version)
I think this could be done once Paul gets rid of the problems in Gcc
eComStation Developer Team
- Prev by Date: Re: Something new for FUSE
- Next by Date: Re: Something new for FUSE
- Previous by thread: Re: Something new for FUSE
- Next by thread: Re: Something new for FUSE