I forgot to mention that both of the GCC-specific DLLs are in the MinGW bin directory.
After a recompile, with GNU C++ (GCC) version 4.7.2 (mingw32), the app runs OK and I get:
Layout of data types:
=====================
Long Double (REAL 10) = 12 Bytes
Double (REAL 8) = 8 Bytes
Float (REAL 4) = 4 Bytes
Results:
========
PI = 3.14159265358979323846264338327 ...
PI as Long Double Value = 3.1415926535897932385
PI as Double Value = 3.141592653589793
PI as Float Value = 3.141593
:t
Also, I attempted qword’s suggestion:
:yasm -f win32 LongDouble.asm
g++ -v -c LongDouble.cpp
pause
g++ -v -static-libgcc -o LongDouble.exe LongDouble.o LongDouble.obj
pause
And while I can’t see anything in the -v output that looks like a warning or error, and the app still functions correctly, the dependencies do not change.