Search found 2 matches

by nametable7
Fri Oct 20, 2017 9:51 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile 32 bit wxWidgets 3.1 on Linux 64 bit Errors
Replies: 2
Views: 4325

Compile 32 bit wxWidgets 3.1 on Linux 64 bit Errors

I am trying to compile static wxWidgets 3.1 Libraries for 32 bit Linux on a 64 bit Linux machine. My configuration is the following: ../configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" --host=i686-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-shared --enable-...
by nametable7
Tue Oct 03, 2017 7:07 pm
Forum: Compiler / Linking / IDE Related
Topic: Need help with Cross-Compiling Under Linux
Replies: 10
Views: 4864

Re: Need help with Cross-Compiling Under Linux

It is important in the CFLAGS variable to use the "-I" option. The -I option includes that directory in the compiler's search path.

Like this:

./configure --prefix=/usr/local/i386-mingw32 --host=i386-mingw32 --target=i386-mingw32 CFLAGS=-I/usr/i586-mingw32msvc/include/