Mail Archives: djgpp/1998/06/19/18:36:36
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
- Raw text -