Full_Name: Jeremy Jin
OS: mingw and ubuntu
Submission from: (NULL) (184.108.40.206)
I am trying to build mingw in two different situations,
1. on mingw
2. cross build from ubuntu 14 for target arm linux
In both situation I found that, some dependencies (such as regex) does not exist
in system default /usr/include. So I download regex from somewhere and build it.
Then I need to specify a custom CFLAGS for configure command such as below
./configure CFLAGS=-I/home/user1/include LDFLAGS=-L/home/user1/lib LIBS=-lregex
the configuration run successfully,then I proceed to do "make depend". However
it will report "regex.h" file not found. And I found that "mkdep"
not make use of the CFLAGS I provided on configure command at all. I worked
around it by create another mkdep command to wrap the existing mkdep command and
add my additional include folders and it worked.
Then next issue I found is I had to modify "portable.h" file as well. I had to
comment out "#define socklen_t int" and add "typedef unsigned int
am not sure why the portable.h is not generated correctly (this only happens on
mingw, not tested on ubuntu cross compiling ARM at all).
Show replies by date