Commit 525c1a4a77f882fb8ea596457ffbb3c51d0b0f90
1 parent
eb35c8ad
Exists in
master
and in
5 other branches
Incluindo instruções para compilação em windows.
Showing
2 changed files
with
46 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,24 @@ | @@ -0,0 +1,24 @@ | ||
1 | + | ||
2 | + 1. Instalar o mingw e o pacote básico do msys ( http://www.mingw.org/wiki/Getting_Started ) | ||
3 | + | ||
4 | + 2. Abrir o shell mingw e executar (não é o cmd normal do windows, o ícone fica no menu do mingw). | ||
5 | + . mingw-get install autotools | ||
6 | + . mingw-get install gettext | ||
7 | + . mingw-get install msys-openssl | ||
8 | + . mingw-get install msys-libopenssl | ||
9 | + | ||
10 | + 3. Instalar o tortoise SVN ( http://tortoisesvn.net/downloads.html ) | ||
11 | + | ||
12 | + 4. Instalar o pacote completo do gtk | ||
13 | + . Baixar o bundle em http://www.gtk.org/download/win32.php | ||
14 | + . Descompactar o bundle em c:\mingw | ||
15 | + | ||
16 | + 5. Abrir uma linha de comando do mingw (não é o cmd normal do windows | ||
17 | + . Mudar para o diretório dos fontes (PS: usei o tortoise svn para baixar os arquivos) | ||
18 | + | ||
19 | + 6. Executar ./autogen.sh (atente para o lado da barra, é "/" mesmo já que o prompt do mingw é um bash | ||
20 | + . Vai dar alguns error relacionados a linguagem; não me preocupei com eles nessa etapa. | ||
21 | + | ||
22 | + 7. Executar ./configure - Ele vai dar falta da libssl porque, por algum motivo, a libssl do mingw4windows não se registra no pkg-config | ||
23 | + | ||
24 | + 8. Executar make |
@@ -0,0 +1,22 @@ | @@ -0,0 +1,22 @@ | ||
1 | + | ||
2 | +The proposal of this document is to show how to build pw3270 installers for windows using the cross-compilers available on SuSE linux. | ||
3 | + | ||
4 | +1. First install the MinGW Repositories to your SuSE version from: | ||
5 | + | ||
6 | + * 32 bits: https://build.opensuse.org/project/show/windows:mingw:win32 | ||
7 | + * 64 bits: https://build.opensuse.org/project/show/windows:mingw:win64 | ||
8 | + | ||
9 | +2. Get pw3270 sources from git | ||
10 | + | ||
11 | + * git clone http://softwarepublico.gov.br/gitlab/pw3270/principal.git ./pw3270 | ||
12 | + | ||
13 | +3. Install cross compilers | ||
14 | + | ||
15 | + * ./pw3270/win/install-cross.sh --all | ||
16 | + | ||
17 | + | ||
18 | +4. Build pw3270 windows installers | ||
19 | + | ||
20 | + * cd pw3270/ && ./win/pack.sh | ||
21 | + | ||
22 | + |