2015-02-23 18:42 GMT+01:00 David Rysdam <[email protected]>:

> David Rysdam <[email protected]> writes:
> > That seems to succeed, although I'm still not sure what <my
> > build machine> should be. I'll keep moving forward and if I have
> > problems checkpoint back to this.
>
> New problem and I don't see any obvious way it is related to the build
> name thing.
>
> Got gcc-core built and installed just fine (version 4.5.1), after I
> installed some missing headers. Also did the symlinking and so forth in
> the instructions.
>

Is there a reason you're using an obsolete GCC version? The oldest still
supported version is 4.8.4. If I remember correctly, 4.5.1 had some issues,
that were patchable or patched in 4.5.2, but really 4.6 was where all the
good stuff started to happen. I strongly suggest you use GCC 4.8 or newer.

There should also not be any need to copy missing headers. This may
influence
In my experience, even the "mingw" symlink isn't useful for non-multilib.

>
> Now on "building the crt"
>
>     ../mingw-w64-v3.3.0/configure --host=x86_64-w64-mingw32 --prefix=<my
> prefix>/x86_64-w64-mingw32 --with-sysroot=<my prefix>/x86_64-w64-mingw32
>
> It grinds along for a while and then I get:
>
>     In file included from
>     <my
> prefix>/lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/intrin.h:41:0,
>                  from
>     ../../mingw-w64-v3.3.0/mingw-w64-crt/intrincs/ilockadd.c:1:
> <my
> prefix>/lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:
>     In function ‘_umul128’:
> <my
> prefix>/lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:774:48:
>     error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘v’
> <my
> prefix>/lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:775:7:
>     error: ‘union <anonymous>’ has no member named ‘v’
> <my
> prefix>/lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:776:7:
>     error: ‘union <anonymous>’ has no member named ‘v’
> <my
> prefix>/lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:777:21:
>     error: ‘union <anonymous>’ has no member named ‘sv’
> <my
> prefix>/lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:778:14:
>     error: ‘union <anonymous>’ has no member named ‘sv’
>
> Obviously this header file is in fact fine. The problem must be some
> misconfiguration elsewhere. But what?
>
> This whole process has so many steps there's no way to remember/verify
> what exactly happened on any previous one. I think I'll have to make a
> script that builds this thing and then I can try tweaking it until I get
> a working final state. Or if I can't do that, I can post the script for
> scrutiny.
>

These things already exist in many places, among which linux distributions,
and my old toolchain build scripts (without automatic source downloading):
https://github.com/rubenvb/mingw-w64-build-scripts
You'll want buildlinux64mingw64.sh, which calls buildcrossfromnative.sh
<https://github.com/rubenvb/MinGW-w64-build-scripts/blob/master/scripts/buildcrossfromnative.sh>
which calls all the separate build steps. I do believe that GCC 4.9 does
not require/use isl nor cloog anymore, and GCC 4.8 did away with PPL.

I do strongly recommend to either use your distribution's packages as Erik
indicates, or at least start from mine, cause there are some very important
options for GCC you shouldn't miss.

Ruben


>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to