Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT] Gentoo -> wine -> cygwin
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Tue Jun 13, 2006 10:25 am    Post subject: [OT] Gentoo -> wine -> cygwin Reply with quote

Ciao a tutti, una perplessità al limite della malattia mentale, per lavoro programmo e compilo in C sotto linux (infatti sul portatile aziendale ho installato Gentoo) ma a volte mi tocca un reboot per poter compilare gli stessi sorgenti sotto cygwin (ovviamente sotto winzozz xp).
Secondo voi sarebbe possibile installare wine, al suo interno installare cygwin e poter compilare in questa catena di "emulazioni" ottenendo magari qualcosa di funzionante ?

Spero di non essere troppo OT.
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Jun 13, 2006 10:38 am    Post subject: Reply with quote

L'idea per me è fattibile (anche se contorta :P ), comunque sembrerebbe che anche altri abbiano avuto il tuo stesso pensiero

http://appdb.winehq.org/appview.php?appId=633

:wink:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Tue Jun 13, 2006 10:41 am    Post subject: Reply with quote

Code:
onip @ Hal9000 ~ $ eix mingw
* dev-libs/wx-xmingw
     Available versions:  ~2.4.2
     Installed:           none
     Homepage:            http://www.wxwidgets.org/
     Description:         Win32 version of wxWidgets for xmingw cross-compiler

* dev-util/xmingw-binutils
     Available versions:  2.15.90.0.2 ~2.15.94.20050118.1
     Installed:           none
     Homepage:            http://sources.redhat.com/binutils/
     Description:         Tools necessary to build Win32 programs

* dev-util/xmingw-gcc
     Available versions:  3.4.2 ~3.4.2-r1 ~3.4.4
     Installed:           none
     Homepage:            http://www.gnu.org/software/gcc/gcc.html
     Description:         The GNU Compiler Collection - i386-mingw32msvc-gcc only

* dev-util/xmingw-runtime
     Available versions:  3.5 ~3.7
     Installed:           none
     Homepage:            http://www.mingw.org
     Description:         Free Win32 runtime and import library definitions

* dev-util/xmingw-w32api
     Available versions:  3.1 ~3.2
     Installed:           none
     Homepage:            http://www.mingw.org
     Description:         Free headers and libraries for the Win32 API


Found 5 matches


Forse qualcosa qui in mezzo può esserti utile. Non che io sappia come funzioni però...
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
mamo
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2006
Posts: 90

PostPosted: Tue Jun 13, 2006 4:51 pm    Post subject: Reply with quote

credo che la cosa migliore sia quella di creare una macchina virtuale su cui far girare windows
nella sezione (documentazione e tools) trovi una guida su come installare qemu e vmware
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Tue Jun 13, 2006 5:05 pm    Post subject: Reply with quote

Non so rispondere al tuo problema ma mi ha incuriosito, compili sotto cygwin per una controprova? Non capisco esattamente l'utilita' della procedura, ma sicuramente un motivo c'e' :)
Fede
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Jun 13, 2006 6:15 pm    Post subject: Reply with quote

federico wrote:
Non so rispondere al tuo problema ma mi ha incuriosito, compili sotto cygwin per una controprova?


Penso lo faccia perché gli serve una versione eseguibile anche su windows :roll:

Comunque la crosscompilazione com mingw mi sembra un argomento interessante . Kernel78 se decidi di seguire questa strada tienici aggiornati ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Tue Jun 13, 2006 8:42 pm    Post subject: Reply with quote

randomaze wrote:

Penso lo faccia perché gli serve una versione eseguibile anche su windows :roll:

E non ci sono compilatori nativi?
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Tue Jun 13, 2006 10:07 pm    Post subject: Reply with quote

imho mingw è la via migliore. molte persone che conosco lo usano con soddisfazione
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Wed Jun 14, 2006 12:49 am    Post subject: Reply with quote

ma con wine dovrebbe essere possibile utilizzare questi eseguibili:
Code:
 wine
wine              winecpp           wine-kthread      wine-preloader
wineboot          winedbg           winelauncher      wine-pthread
winebrowser       winedump          winemaker         wineserver
winebuild         winefile          winemine          wineshelllink
winecfg           wineg++           winepath
wineconsole       winegcc           wineprefixcreate

vedendoli così come sono winegcc e wineg++ sembrano tanto dei compilatori. la man di winegcc per esempio cita:
Quote:
NAME
winegcc - Wine C and C++ MinGW Compatible Compiler

SYNOPSIS
winegcc [options] infile...

DESCRIPTION
winegcc is a gcc wrapper which tries to provide a MinGW compatible com-
piler under Linux. This is most useful to Win32 developers who can sim-
ply take their MinGW code from Windows, and recompile it without modi-
fications under Winelib on Linux. wineg++ accepts mostly the same
options as winegcc.

The goal of winegcc is to be able to simply replace gcc/g++/windres
with winegcc/wineg++/wrc in a MinGW Makefile, and just recompile the
application using Winelib under Wine. While typically there are small
adjustments that must be made to the application source code and/or
Makefile, it is quite easy to do them in a fashion that is compatible
between the MinGW and Wine environments.

Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Wed Jun 14, 2006 6:57 am    Post subject: Reply with quote

Dunque vedo di riepilogare un attimo...
Adesso la compilazione dei programmini C avviene sotto: linux, sco, unixware e windows (ovviamente per windows ci appoggiamo a cygwin) visto che furbamente i commerciali non ritengono opportuno forzare i clienti ad acquistare da noi un'unica architettura e obbligano lo sviluppo su multipiattaforma con salti mortali acrobatici ...

Purtroppo ho scoperto che cygwin ha enormi problemi sotto wine a causa dell'implementazione della fork() e quindi penso sia meglio che mi metta a esplorare altre strade.

Al momento sto già cercando di introdurre molti cambiamenti, tecnologici e metodologici e vediamo se riesco a farli passare da cygwin a mingw, io provo a vedere se ottengo risultati con quest'ultimo ...

Ovviamente vi terrò aggiornati ma se qualcuno avesse idee, suggerimenti e/o esperienze da condividere si faccia avanti :wink:
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum