|
From: Chander M A. <cha...@sa...> - 2007-08-11 16:34:01
|
Thanks for the response.
I tried to update the compiler & tools by pointing the IDE at the
separately installed MinGW ("Candidate" using 5.1.3 installer)
Now, it immediately fails under gdb as well with another
message that doesn't help me - but maybe someone has seen it before.
=============
C:\Dev4\libs>gdb equipoisedbg.exe
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
...[snip]....
This GDB was configured as "i686-pc-mingw32"...
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
============
Greg Chicares wrote:
see:
> http://lists-archives.org/mingw-users/06091-baadf00d.html
> for ways to track down the problem.
...thanks - i'm reading through this thread and there are some things i
will try...
>
> That would seem to be several years old. I believe there's
> a problem either in your program or in one of the third-
> party libraries you're using, and updating the toolchain
> isn't the answer to that problem, but it is a good idea for
> other reasons.
>
Tried updating to the "candidate" version of MinGW but it stopped
working completely See above.
>
> If you built it with MinGW tools, then it's a native msw app.
> It does run from the command line; it just doesn't run as
> expected, presumably because of some defect that's masked
> by running it under gdb.
fair enough. I was using the phrase "native..." in some vague manner. My
apologies.
>>PS>> Is anyone using / supporting MinGWStudio (no mailing list) ? Anyone
>
>
> Searching my local archives (which I think are complete)
> for "MinGWStudio", I find:
> 1 message in 2007 (yours)
> 0 messages in 2006
> 2 messages in 2005
The Linux version of studio was updated summer/06 however the Windows
version is 05 or earlier...
>>and most importantly produce
>>an executable that will execute natively with no dll's etc to accompany
>>the exe.
>
>
> There are two different concepts here. If you were using
> Cygwin gcc, you'd produce programs that require the Cygwin
> dll, which includes a C runtime different from the one
> provided "natively" by msw. Using MinGW gcc, you produce
> programs that use the C runtime provided as part of msw,
> and we might say that a MinGW app runs "natively" in that
> sense. That's what this page
> http://mingw.org/
> means when it says MinGW produces "native Windows programs
> that do not rely on any 3rd-party C runtime DLLs."
>
> But a "native" program can require other dlls, some of which
> may not be part of the OS. You say you're using 'bgd.dll',
> so that has to accompany your program. "Native" doesn't
> mean that no dlls are required.
You are right.
My intent is to look for a solution that minimizes the number of
additional files/libraries that have to get deployed to make the program
work for a client (- somewhat in the same sense as compiling a ".pl"
into a ".exe" makes it easier to deploy a perl program vs. requiring the
remote machine to be installed with Perl) - "native" is not the right term.
btw, "bgd" may/will disappear at some point in the programs port...
Thanks for the help. I'll try the dr mingw and also work on building it
directly without an IDE
-chander
|