Scott Duplichan wrote:
I have not found a way to add '-lregex' to the link command line: $(Q)$(HOSTCC) $(HOSTLDFLAGS) -o $@ $(addprefix $(obj)/,$($(@F)-objs)) $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) HOSTLDFLAGS occurs too early in the file list for this use.
I'd say the above command line is incorrect. HOSTLDFLAGS should come right before HOST_LOADLIBES.
- Function mkdir() takes only one argument in the mingw environment, yet takes 2 arguments otherwise. I have not found a good way to overcome this difference.
#ifdef WIN32 mkdir(path); #else mkdir(path, mask); #endif
//Peter