On Tue, Nov 12, 2013 at 2:47 PM, ResQue <[email protected]> wrote:
> Hello all
>
> New to Mingw-w64 looking for Links, Tutorials, advice from the community?
>
>
1) Put yourself in an adventurous mindset that tolerates ambiguity. You may
have to be more patient than you'd like and may have to reign in the "I
just want to build sh*t now!" urge. >;->
Trust me, the time you spend investing in understanding more about your
tools, the better the payoff in the mid and long term.
2) Since you're new to mingw-w64, move the the front edge and focus on the
new MSYS2 and the new official binary toolchain downloads for windows.
Combine them into a workable toolchain that you can place on `PATH` and use
to build from the command line.
For example, assuming you have a 64-bit windows system, these will be
interesting:
http://sourceforge.net/projects/msys2/files/Base/i686/
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.8.2/threads-win32/seh/
Don't allow yourself to get stuck for too long setting up the toolchain.
The goal is to learn by doing, but it shouldn't be so frustrating that you
give up and walk away. Try it on your own, but when you're stuck, create a
short, descriptive email and post it hear to ask for help.
If your main dev box is not windows, you'll need to set up a cross
compiling toolchain.
3) Use pacman included in the update MSYS2 to customize MSYS2 so that it
can build many open source packages
https://wiki.archlinux.org/index.php/pacman
4) Once you've confirmed you've got an operational toolchain, pick an open
source package of interest and learn to build it. Pick software that you
actually have a need to use. Of course, DuckDuckGo and other spelunking
techniques will help, but also check out how others have automated builds
paying particular attention to their use of `configure` and `make`.
For example:
https://www.gitorious.org/sbuild/sbuild/source/a8f47daae77bb2390843250fbe6445fed784d866:src/mingw/libarchive-3.1.2-2/pkgbuild.sh#L284-303
https://github.com/jonforums/buildlets/blob/master/build_libiconv.ps1#L44-L57
https://www.gitorious.org/sbuild/sbuild/source/a8f47daae77bb2390843250fbe6445fed784d866:src/mingw/libiconv-1.14-2/pkgbuild.sh#L306-324
http://cgit.notk.org/adrien/yypkg/slackware64-current.git/tree/l/libffi/libffi.SlackBuild
https://github.com/jonforums/buildlets/blob/master/build_zlib.ps1
5) Once you've got a working toolchain and are familiar with `configure`,
`make`, `gcc` and have built a few things, I ask that you blog about your
mingw-w64 set up as well as post a message (link to your blog) with
"tutorial" in the title. Even if you don't have a blog, a tutorial email to
this list would be awesome.
Hopefully others will share some of their hard won "secrets" :)
It's a great thing you're a newcomer to mingw-w64 and I'd love to see this
project get the benefit of a tutorial based upon your adventurous ramp up.
Tutorial style documentation is lacking and many of us take for granted the
challenges of setting up a workable toolchain for the first time.
Jon
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public