User forums > Using Code::Blocks

Howto - Cross Compiling in Linux using MingW32

<< < (5/25) > >>

alchemist:

--- Quote from: Morphius Faydal on October 19, 2007, 06:25:16 pm ---Now if only the Gentoo ebuilds of MinGW weren't broken...

Also; on a stylistic note; MingW32 isn't the proper name for the cross compiler.. MinGW is the "official" naming, standing for "Minimal GNU for Windows".. Min.. G.. W. :)

--- End quote ---

Hello, what did you tried ? crossdev ?

Morphius Faydal:

--- Quote from: alchemist on October 20, 2007, 10:41:10 am ---
--- Quote from: Morphius Faydal on October 19, 2007, 06:25:16 pm ---Now if only the Gentoo ebuilds of MinGW weren't broken...

Also; on a stylistic note; MingW32 isn't the proper name for the cross compiler.. MinGW is the "official" naming, standing for "Minimal GNU for Windows".. Min.. G.. W. :)

--- End quote ---

Hello, what did you tried ? crossdev ?

--- End quote ---

The two actual ebuilds for MinGW in Portage both have notes in them stating that they're broken.

alchemist:
Last year I tried crossdev with no success. I am emerging it now and testing it.

I think we could only use the non-ebuild cross-building scripts ;)

alchemist:
OK, after running
--- Code: ---crossdev --target mingw32
--- End code ---
I got
--- Code: ---#mingw32-g++ --version
mingw32-g++ (GCC) 4.2.2 (Gentoo 4.2.2 p1.0)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--- End code ---

Next step : cross-build binutils, gcc, w32api et wxMSW ;)

EDIT: done (i'm in 64 bits)
--- Code: ---USE="-* contrib unicode xrc" ROOT=/data/mingw32-build/ CHOST=mingw32 CBUILD="x86_64-pc-linux-gnu" emerge -1av --nodeps sys-devel/binutils sys-devel/gcc w32api make wxGTK
--- End code ---

but cross-compilation of code::blocks through emereg didn't worked:
--- Code: ---checking for wx-config... /usr/lib64/wx/config/gtk2-unicode-release-2.8
checking for wxWidgets version >= 2.6.0... no
--- End code ---

I will take a look later.

Moreover, emerge installed binutils and gcc with too many symlinks I'll have to manually adjust.

Maybe I'll use the standard "./configure && make && make install" procedures.

wvdakker:
I have installed CodeBlocks, Mingw and wxWidgets in Linux.
Transfered a project created in Windows to the Linux env.
The DLL-files are build ok but there are no library files (.a) created.
The option 'Create import library' is enabled, but nothing there.

Any clue??

gr,
Willem

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version