Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51536 - eclass for xmingw-based applications
Summary: eclass for xmingw-based applications
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-20 00:42 UTC by Nguyen Thai Ngoc Duy (RETIRED)
Modified: 2004-09-09 11:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2004-05-20 00:42:59 UTC
I would like to have an eclass for xmingw applications. Cross building using xmingw requires setting a lot of environment variables such as CC, CXX, LD ... Having an eclass would ease the task. In addition to setting variables, it could do somethine like passing proper parameters to configure script, patching libtool (if necessary) ...
This eclass may be used by xmingw-* packages them selves and other xmingw-based ebuilds (though i don't know whether cross compiled gtk+ ebuild is appreciated in portage)
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2004-09-09 11:43:25 UTC
This is only a few lines and hightly dependant on your setup.
Eg:
export PATH=/opt/xmingw/bin:/usr/lib/wine/bin:$PATH
export CC=i386-mingw32msvc-gcc
export CXX=i386-mingw32msvc-g++
export RANLIB=i386-mingw32msvc-ranlib
export AR=i386-mingw32msvc-ar
export AS=i386-mingw32msvc-as
export RC=i386-mingw32msvc-windres
export STRIP=i386-mingw32msvc-strip
export TARGET=i386-mingw32msvc

and very easy. If someone is advanced enough to want to crosscompile an app then let them provide there own!

I doubt cross compiled apps will make it into portage, if they do then I will add it, otherwise closing.

If I did make a script then I would have to maintain it and check it works. Varst amount of apps will not work and I can not prepared to maintain something I do not use / want.

Sorry.