Mail Archives: cygwin/1996/11/12/20:00:46
I recently downloaded beta 16 of gnu-win32 on my NT 3.51 server
and I've compiled a bunch of my Unix programs under gnu win32.
Many of them work fine, but some of them give an error
"Not a valid Windows NT application" error when I launch
them.
I compiled all of these using commands of the format:
gcc -o <name.exe> <obj1.0> <obj2.o>... mylib1.a mylib2.a -lstdc++ -lm
All my programs do use static libraries which I again create
using gcc. From what I can tell the only difference between the
programs which do work and those that don't is that the ones that don't
work are larger than the ones that do. When I compiled the objects with
-g option, the sizes of the ones that don't work are >1Mb and
when I compile without -g, they range from 500k to 1.1Mb.
Does anyone have a clue on what could be going on? Is there a
magic flag to gcc that I must be passing in? ANY input would be
greatly appreciated.
I'm not attaching the od -x output (or any other info you need) but
I can send it to anyone who can help.
Thanks a lot,
Bala
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -