id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
63	hugs cabal incomplete	jvlask@…	nobody	"Two things

1) hugs cabal does not take any notice of additional C files specified in the
cabal config

2) hugs cabal passes libraries using mingw conventions and does not support a 
build process using msvc. i.e. libraries passed as -lodbc

3) I used to be able to generate the C stub for seporate compilation with the following command
ffihugs -98 +G -Pbuild: +L""-D_WIN32_"" +L""-Dmingw32_HOST_OS""  +L""-I./HSQL"" +L""./ODBC/Database/HSQL/HsODBC.o"" +L""odbc32.lib"" +L""-I./ODBC/Database/HSQL"" $<

this worked fine and achieved what was desired:- generating a C file compiling and specifying additional link libraries and include path.
this can be done with the new hugs like so

ffihugs -98 $< -D_WIN32_ -Dmingw32_HOST_OS  -I./HSQL ./ODBC/Database/HSQL/HsODBC.o odbc32.lib -I./ODBC/Database/HSQL

The current cabal setup for hugs does not support the generation/specification of such a command, so I am left with no option but to use a hybrid of cabal and make files ... very unsatisfactory.

4) you should really think about linking hugs against the multithreaded library /MD by default many external gnu etc libraries (actually all that I have come accross) link against msvcrt.lib. Having two different rtl being called can cause problems."	defect	new	major		hugs	200609		cabal	
