I need to create 32bit libraries for an application written in fortran. The application is built as a 32bit static binary. For gfortran I just define LDFLAGS, CFLAGS, and FCFLAGS as "-m32". Now I want to build using ifort. Doing the same procedure does not seem to work. When I try to link against the libraries I am informed that they are incompatible.
Anybody knows where I go wrong?