Sender: nate AT cartsys DOT com Message-ID: <358AD7C5.F4F4005A@cartsys.com> Date: Fri, 19 Jun 1998 14:27:33 -0700 From: Nate Eldredge MIME-Version: 1.0 To: wagray AT taz DOT dra DOT hmg DOT gb CC: djgpp AT delorie DOT com Subject: Re: Help! Why is my program crashing? References: <199806171709 DOT NAA26180 AT delorie DOT com> <6mbc4t$5l4$5 AT trog DOT dra DOT hmg DOT gb> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Walter Gray wrote: > Are we talking about the exit(something) value, or is this another > return mechanism entirely? `exit(n)' and `return n' from `main' are equivalent. The program has a "return code" which is passed to its parent, and this is either the value passed to `exit' or the return value of `main'. In fact, if you look at the startup code, you'll see this: exit(main(argc, argv, environ)); or something equivalent. -- Nate Eldredge nate AT cartsys DOT com ectory (ENOENT) > > I assume that the linked is trying to use -lstdcx as a command-line parameter. > I went into DOS and tried it out for myself on the command line and I got the > exact same error. SO I assume that either RHIDE is trying to link with an > invalid parameter or the parameter simply isn't supported in this linker. > If anyone has any hints on how to get around this, it would be greatly > appreciated. In GCC 2.8.1 the name of the standard C++ library was changed from `libstdcx.a' to `libstdcxx.a', and RHIDE doesn't know this yet. See the file `gnu/gcc-2.81/problems.txt', which explains how to fix it. -- Nate Eldredge nate AT cartsys DOT com