User Activity

  • Posted a comment on discussion Open Discussion on MinGW-w64 - for 32 and 64 bit Windows

    I am a casual user of Mingw, writing short C programs for test applications. Nothing fancy. I sometimes need to test my programs on Win98, Win2K as well as Win 10. I am looking for a recommended build that would allow creating C programs on a 64bit Win 10 environment and be able to build both 32bit and 64bit apps using the -m32/-m64 switches. I've tried several builds and some will build 64bit apps but not 32bit apps. I get mixed results. There seems to be so many builds that I am totally confused...

  • Posted a comment on discussion Open Discussion on MinGW-w64 - for 32 and 64 bit Windows

    I am getting an 'illegal operation" error message when executing a simple C program that uses the printf function. int main (void){ unsigned char A = 0x55; int B = -200; printf ("%x\n",A); printf ("%d\n",B); return 0; } This error only occurs on a physical Win 98 machine. On a Win98 VM this executes without issue. Both the Win98 VM and physical machines are using Win 98 4.10.2222. I'm doing nothing special with the gcc compiler: C:\mingw32\bin\gcc -Wall -O2 -c $(NAME_PART).c -o $(NAME_PART).o -s...

  • Posted a comment on discussion Open Discussion on MinGW-w64 - for 32 and 64 bit Windows

    I use MnGW to build simple 'C' applications for testing engineering ideas, etc. I downloaded the inpout32/64 dll for accessing IO/memory under windows and am having a general issue with name mangling causing unresolved externals. Evidently, the library is built using C++ , and as I have little to no experience with C++, I am stumped as to how to proceed. I set up Codeblocks so that the inpout64.lib is found, but I get the error : undefined reference to IsXP64Bit@0 Years ago I solved a similar name...

  • Posted a comment on discussion Help on MinGW-w64 - for 32 and 64 bit Windows

    Hi - My problem(s) appears to be a favorite trouble spot for many beginners. This has to do with with linking to a .LIB file created with MSVC. I have been using the MingGW32 compiler with Codeblocks and this is my first time trying to do this. I do understand that the issue surrounds the way different compilers handle dll decorations. I see where the MSVC built import library (.lib) uses the stdcall calling convention and the dll/import lib was built using a DEF file as the functions have neither...

View All

Personal Data

Username:
rfdes
Joined:
2008-07-06 01:42:39

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB