Re: Cross-Compiling on Linux




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Em 03-09-2015 21:08, Jason C. McDonald escreveu:
> I've been researching this for over a week now, and I can't get anything resembling a straight answer.
>
> I am on an Ubuntu 15.04 x64 computer, using C++11 and CodeBlocks. I have a program written using the latest stable version of gtkmm. Now I need to compile the project with MinGW for both Win32 and Win64 /on my Ubuntu machine/. I have everything I need for building Windows binaries installed, but I have no idea how to compile gtkmm and its dependencies for Win32 and Win64 and linking them. There are some sparse instructions, including in the tarball, but they're so vague and unclear that I can't figure out how to accomplish this.
>
> Can anyone provide me with a simple, step-by-step process for compiling my program? I know how to point CodeBlocks to header and lib files for a particular build without any trouble, but I have /no idea/ how to GET those header and lib files for gtkmm and its dependencies from my Linux machine.
>
> Thank you in advance.


Dear Jason,
I tried to make this process that is making the time to bring, follow to the letter all the steps the Mingw passes, including installing directly the mingw packages after manually, but did not succeed.
I chose to create a virtual machine and set up a mingw in the same windows.
In the last update I did, I could using Msys2 (sourceforge.net/projects/msys2), along with the steps of the QT configuration, assemble a compiler on Windows 32 and 64 bits.
Have all set up and ready to use, to obtain the best can provide the installer to set up (it's a little big) as a way to help, but the compilation tends to be made via terminal, linking in IDEs like CodeBlocks do not know how it use AutoTools.

PS: sorry the English, do not write right yet, and used the translate.

Regards,

- ---
Prezado Jason,
Tentei fazer esse processo que está fazendo a um tempo a traz, segui a risca todos os passos que o Mingw passa, instalando inclusive diretamente os pacotes mingw, depois de forma manual, mas não tive sucesso.
Optei por criar uma máquina virtual e montar um mingw no windows mesmo.
Na última atualização que fiz, consegui usando o Msys2 (sourceforge.net/projects/msys2), juntamente com os passos de configuração do QT, montar um compilador no windows para 32 e 64 bits.
Tenho todo configurado e já pronto para usar, se quizer posso disponibilizar o instalador que montei (é um pouco grande) como forma de ajudar, mas a compilação tende ser feita via terminal, a linkagem em IDEs como o CodeBlocks não sei como fazer pois uso AutoTools.

PS: desculpe o inglês, pois não sei escrever direito ainda, e usei o translate.

Atenciosamente,

- --
Paz e Bem!
Alcione Ferreira
Sombra®
101080
[http://www.alcionesytes.net/]
- ------------------------------------------------
Liberdade e conhecimento ao alcance de todos.

Office Escritório - http://www.libreoffice.org/
Navegador Firefox - http://www.mozilla.org.br/
Email Thunderbird - http://www.mozilla.org.br/
- ---------------------------------------------------------------
Linux user number 432030 of http://counter.li.org/
- ---------------------------------------------------------------
ICQ: 377035698
Jabber: ksombrah jabber org
MSN: alcione sombra hotmail com
- ---------------------------------------------------------------
Curriculum: http://lattes.cnpq.br/0545256741852110
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlXprHsACgkQ3m8gMw0vje/G1ACfV3yS836/Zv8TB1NjWtqCwxOO
FZ4AnR9BlKQkkGyl0h0zMd8/3tQEcHyY
=XqoX
-----END PGP SIGNATURE-----

Attachment: 0x0D2F8DEF.asc
Description: application/pgp-keys



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]