You are not logged in.
I am new to Archlinux and this is the first time i try to build with pkgbuild.
I want to use the mingw32 related packages to build native windows executables. When i installed mingw32-gcc and its dependencies with pacman, I noticed that the package is configured to generate code for i486 computers. As this little tool I am planning to write will definitely run on a i686 platform, i natually would like to build a i686 targeted mingw32 system.
I read the wiki files about ABS and pkgbuild, and followed the examples there. I created corresponding directories under my home folder, copied corresponding folders there, and changed all i486-mingw32 into i686-mingw32 in PKGBUILD files, and tried to build the packages. and then I found out that every mingw32 related package is interdependent with each other. If I use -s switch, pacman will install the unwanted dependencies in the wrong directory (i486-xxx not i686-xxx).
I understand that the process of building a cross-compiler is quite complex, which would require building the same package for more than once. and I thus understand that the interdepencies here is normal. However, with pkgbuild system, I have no idea of how to build the packages manually.
If you have any idea how to make it work, please kindly advice.
Last edited by AugustePop (2010-04-27 14:02:14)
Offline
Just add compiler flags... i.e. "--march=i686"
Offline
oops...
thank you. the i486 prefix is so misleading...
Offline