On Thu, 10 Jan 2002, b g wrote:
> Sorry, just forgotten one thing: > deleting the call to the function in main() solves the crush problem, but > since this is the key function inthe whole program this is not an option this is quite funny. you try to debug a problem using gdb - a _source_ level debugger, without reading the source. how's that supposed to work? how is _anyone_ supposed to even try to help you without seeing the source code? sometimes (not too uncommonly) a stack dump alone is enough. and sometimes not. so to blindly make a suggestion - try compiling it with 'kgcc' instead of 'gc' and see if it crashes the same way. kgcc is egcs 2.96.1, while 'gcc' on redhat 7.X is some otherwise unreleased version of gcc - which redhat was "kind" enough to release with their systems. if it crashes even when compiled with 'kgcc' (don't forget to clean all old object files before using kgcc), then you most likely have a bug. porting a program to a different platform is not just getting it to compile - its also making it run the same, and you sound too surprised about the program not working :) -- guy "For world domination - press 1, or dial 0, and please hold, for the creator." -- nob o. dy ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]