[coreboot] mingw build problem with seabios/tools/kconfig

Peter Stuge peter at stuge.se
Sun Mar 13 05:39:27 CET 2011


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.


> 3) 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




More information about the coreboot mailing list