Latest mingw problems

BlitzMax Forums/BlitzMax Programming/Latest mingw problems

okee(Posted 2010) [#1]
Has anyone used the latest version of mingw
I've installed Blitzmax 1.41 and downloaded the
latest version of mingw from sourceforge, but it
seems to be a different installer to the one i used before
Anyway installed it.
Blitz works fine with a some simple test code
but if i select Build Modules, thereafter i get
the following errors when compiling

Building untitled1
Compiling:untitled1.bmx
flat assembler  version 1.68  (1195579 kilobytes memory)
3 passes, 2893 bytes.
Linking:untitled1.debug.exe
Executing:untitled1.debug.exe
Warning: .drectve `-aligncomm:_joyhandle,5' unrecognized
Warning: .drectve `-aligncomm:_ReadStream,2 ' unrecognized
Warning: .drectve `-aligncomm:_WriteStream,2 ' unrecognized
Warning: .drectve `-aligncomm:_ccinfo,5 ' unrecognized
Warning: .drectve `-aligncomm:_jerr,5' unrecognized
Warning: .drectve `-aligncomm:_stdin_,2 ' unrecognized
Warning: .drectve `-aligncomm:_stdout_,2 ' unrecognized
Warning: .drectve `-aligncomm:_stderr_,2' unrecognized
Warning: .drectve `-aligncomm:_bbGCStackTop,2 ' unrecognized
Warning: .drectve `-aligncomm:__bbusew,2' unrecognized
Warning: .drectve `-aligncomm:__bbNeedsLock,2 ' unrecognized
Warning: .drectve `-aligncomm:__bbLock,2' unrecognized

Process complete



xlsior(Posted 2010) [#2]
I have MinGW 4.5.1 working OK with Blitzmax myself...

If you are using a newer version of MinGW than the one that came with Blitzmax, then there are some extra steps you need to take: You need to overwrite blitzmax/bin/ar.exe and ld.exe with the versions found in the MinGW/bin folder

You also need to replace the files in blitzmax/lib with the identically named files from mingw/lib


okee(Posted 2010) [#3]
Thanks xlsior, that worked a treat.