From: "Wolfgang Ocker" <weo@recco.de>
To: gnu-win32@cygnus.com
Subject: Program runs on Win95 but not NT!
Date: Fri, 26 Sep 1997 06:34:00 -0000 [thread overview]
Message-ID: <9709261507.ZM27970@recco.de> (raw)
Greetings!
I need your help! I'm new to NT programming (and *love* to have the
gnuwin32 system running as a cross compiler on my linux box), so please
excuse if it's a dumb question ...
I've the following problem:
A simple windows (GUI) application compiles just fine. It runs under
Windows95! It doesn't run under NT (sp3). The system even doesn't start
the program, but displays the error ERROR_BAD_EXE_FORMAT.
The program is linked with
$(CC) -mwindows -o simple.exe $(OBJS)
and only the warning
warning: cannot find entry symbol _WinMainCRTStartup;
defaulting to 00401000
is displayed (btw: how can this be avoided?)
I've also compiled the program under NT with the self-hosted gnuwin32
tools. Same result (it doesn't work). It works if the sources are
compiled and linked with Lcc or MSVC.
If I link the object files as generated with gnuwin32 with the MSVC
linker, the program runs! Looks like I'm missing some options for the
linker!?
Any ideas?
Wolfgang
--
| Wolfgang Ocker | D-86576 Schiltberg-Rapperzell | weo@recco.de |
| reccoware systems | Phone +49-8259-1048, Fax 1049 | How do we sleep ...? |
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
reply other threads:[~1997-09-26 6:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9709261507.ZM27970@recco.de \
--to=weo@recco.de \
--cc=gnu-win32@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).