Mail Archives: djgpp/1997/12/26/14:53:21
At 05:02 12/24/1997 GMT, DMurugesan wrote:
>
>To some one who can reply ,
>
>
>I compiled my small program and tried to run it .It ran so perfect. When I
>introduced " cout << sizeof(MYstruct) ; " , it complained something about
>"djgpp_first_ctor","djgpp_last_ctor",etc . I read the faqs and added the option
>-Tdjgpp.djl and now I am left with new error called "Program too big to fit
>into memory " when I run inside a dos window and "Not a valid Win32
>Appilcation" when I run it from Windows Explorer.
I suspect you have given incorrect options to the compiler or linker. It
sounds like you invoked the linker directly, which should not be necessary
and can cause problems. You should use `gxx' to link, and not use `ld'
directly. If this doesn't help, please post a short source code which
reproduces it, and the EXACT command lines used to compile and link it.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -