From: Romain <ro...@li...> - 2006-09-22 14:07:56
|
Hi, > for cross-MinGW and for MSYS at: > http://www.tigen.org/kevin.kofler/pcprogs/qmake4-mingw-mkspecs.7z > (These are for QMake 4. I recommend QMake 4 for MinGW targets because > QMake 3 > hardcodes even more DOS-shell-stuff, and also sets some weird default > linker > flags which are more likely to be a problem than to be helpful. However= , > if > you want QMake to generate an M$VC project or an M$VC nmake file, you n= eed > either QMake 3 or a QMake 4 patched with the "additional compiler suppo= rt" > patches.) > Usage: > cross-MinGW: qmake-qt4 -win32 -spec win32-cross-g++ > MSYS: /c/qt4/bin/qmake -spec win32-msys-g++ > (The MSYS line assumes Qt 4 is in C:\qt4, please adjust.) In this case, is Qmake -foo -bar -.... -... easier than ./configure with no args? tilibs public headers shouldn't require the client program to run > autoconf tests. stdint.h is included with GCC in all current versions I agree but stdint.h does not exist under Windows (at least MSVC) thus it _needs_ to be detected. > (assuming the GCC-provided headers are shipped, but I think TIGCC is th= e > only > port which doesn't do that ;-) ), so I think it's safe to assume that > __GNUC__ implies HAVE_STDINT_H. Incidentally, this is also what the QMa= ke > project now does: > *-g++:CFLAGS +=3D -DHAVE_STDINT_H you are replacing autoconf probing by hand-written specs. Is this normal/better? > * tilibs.h doesn't find <tilp2/ticonv.h> etc. with the current > cross-mingw32-gtkaio.sh. Fix: > export C_INCLUDE_PATH=3D"$C_INCLUDE_PATH":~/.wine/c/tiemu/include > I can add that to our cross-mingw32-gtkaio.sh, but I'd much better > the "tilp2/" prefixes were just yanked from the various copies of > tilibs.h. > They're not needed, pkg-config already puts the $PREFIX/include/tilp2 > folder > into the include search path. And the extra C_INCLUDE_PATH wouldn't be > needed > with them, as $PREFIX/include/tilp2 is found by pkg-config unlike > $PREFIX/include. tilibs.h should just: > #include <ticonv.h> > #include <ticables.h> > #include <tifiles.h> > #include <ticalcs.h> > and be done with it, no crazy #ifdefs. This is currently this, isn't it? > > Kevin Kofler > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel > --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |