Hello, George

Well after my post I got the compiler working by 'cherry picking' working binaries manually. Some minor problems occured like some missing windows.h header macros. Also after my setup the compiler is portable: I can copy it to USB stick or anywhere I want and it just works. Adding compiler /bin to path env manually is bit tedious task to do. The Installer should do this automatically (I understand it is not easy to implement and the installer is still beta).

I'm testing new features I hit this next problem: LTO optimization is fails: "lto-wrapper: CreateProcess: No such file or directory
y:/work/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: lto-wrapper failed" if I specify -flto=4 when compiling and linking. Using just "-flto" works
 fine tough.

-Jarmo


2013/11/21 George Koehler <xkernigh@netscape.net>
On 11/16/2013 4:14 PM, Jarmo Tiitto wrote:
> From my perspective  the "catalogue" files that the setup uses from
> what I understand are badly broken currently.

The current catalogue works for me. I now have gcc 4.8.1-4 and mingw-get
0.6.2-beta-20131004-1, and I can compile C and C++. You might want to
update your catalogue. You can do so in the GUI (Installation => Update
Catalogue) or at the command line (mingw-get update).

On 11/16/2013 4:14 PM, Jarmo Tiitto wrote:
> 4.8 compiler version dies to missing .dlls in
> mingw\libexec\gcc\mingw32\*version*\ for cc1.exe. After I copied these
> dlls from mingw\bin the cc1.exe dies again with message "Application
> cannot start! (0x7B)"

Do not copy dlls there! I would undo that and delete the extra copies of
those dlls. (When mingw-get upgrades my dlls, I would rather not keep
any stale copies.) In my computer, the only dll in
C:\MinGW\libexec\gcc\mingw32\4.8.1 is liblto_plugin-0.dll (and
liblto_plugin.dll.a).

To use your dlls, you need to set your PATH. In cmd.exe, you can enter a
command like

C:\>path %PATH%;C:\MinGW\bin

For a more permanent way to set PATH, look at
http://mingw.org/wiki/Getting_Started

--George Koehler

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe