Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emul unix che non esiste perchè non può esistere[risolto]
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
manang
Apprentice
Apprentice


Joined: 09 Oct 2006
Posts: 245

PostPosted: Sun Jun 22, 2008 11:35 pm    Post subject: emul unix che non esiste perchè non può esistere[risolto] Reply with quote

salve, forse è vecchio come argomento
ma esiste un emulatore per unix?posso in qualche maniera usare i programmi di mac os x o simili?grazie
_________________
manang


Last edited by manang on Tue Jun 24, 2008 7:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Mon Jun 23, 2008 10:59 am    Post subject: Reply with quote

"emulatore unix per usare i programmi di macosx e simili" ma di cosa stiamo parlando? :roll:
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Jun 23, 2008 11:23 am    Post subject: Reply with quote

Se intendi i vecchi formati binari (tipo gli eseguibili COFF) il progetto è morto nel passaggio ai kernel 2.2 , mi pare che abbia avuto prosieguo solo in uno dei BSD.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Mon Jun 23, 2008 11:30 am    Post subject: Reply with quote

djinnZ wrote:
Se intendi i vecchi formati binari (tipo gli eseguibili COFF) [...]

Visto che parla di OSX non credo proprio, ma continuo a non avere idea di cosa intenda :P
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Mon Jun 23, 2008 11:34 am    Post subject: Reply with quote

L'impressione che mi sono fatto io (non ho idea di quanto sia aderente alla realtà) è che voglia far girare sw per os x in linux ...

Ma prima di lanciarci in voli pindarici forse è meglio se aspettiamo ragguagli dal diretto interessato :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
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Jun 23, 2008 2:28 pm    Post subject: Reply with quote

Kernel78 wrote:

Ma prima di lanciarci in voli pindarici forse è meglio se aspettiamo ragguagli dal diretto interessato :wink:


... concordo, ma potremmo anche organizzare un concorso a premi per vedere cosa intendeva realmente :wink:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Jun 23, 2008 2:34 pm    Post subject: Reply with quote

Perché non c'era già il concorso?
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
manang
Apprentice
Apprentice


Joined: 09 Oct 2006
Posts: 245

PostPosted: Mon Jun 23, 2008 6:24 pm    Post subject: Reply with quote

scusate, non mi sono spiegato
insomma
se volessi far girare un qualsiasi software fatto per mac su linux come faccio?
_________________
manang
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Mon Jun 23, 2008 6:46 pm    Post subject: Reply with quote

manang wrote:
scusate, non mi sono spiegato
insomma
se volessi far girare un qualsiasi software fatto per mac su linux come faccio?


lo ricompili... dato che la comunità mac os depreda facilmente da quella linux (cups insegna...)...

ciao

luigi
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Mon Jun 23, 2008 7:16 pm    Post subject: Reply with quote

manang wrote:
scusate, non mi sono spiegato
insomma
se volessi far girare un qualsiasi software fatto per mac su linux come faccio?

Avevo indovinato io 8)
_________________
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
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Mon Jun 23, 2008 10:27 pm    Post subject: Reply with quote

Kernel78 wrote:
manang wrote:
scusate, non mi sono spiegato
insomma
se volessi far girare un qualsiasi software fatto per mac su linux come faccio?

Avevo indovinato io 8)


ritornando a unix... cosa è unix? Unix NON ESISTE... questo deve essere chiaro. è una certificazione di interoperabilità (l'ho scritta bene?) in cui è garantita l'aderenza a degli standard (Posix SUSv3, Single Unix Specification v3) ed il passaggio presso l'ente di certificazione (OpenGroup).

Se l'aderenza Posix non è un problema (anche windows è Posix!*), infatti Linux ha una (la) ottima implementazione, costituita da un buon supporto kernel, una buona shell, una buona libreria, ed un buon compilatore, non è così ovvia la certificazione OpenGroup... infatti Linux non è Unix... perché nessuno sottopone la distribuzione alla certificazione. A rigore non si dovrebbe paralre di Linux ma di una Distribuzione in particolare, dato che la certificazione mette vincoli anche sul dove le cose si trovano. OSX è uno Unix certificato da OpenGroup (Apple ha pagato l'iter) per renderlo più appetibile al server mainstream. Secondo me non serve a molto quello che hanno fatto... ma è una mia opinione.
Se si analizza OSX si nota che compilatori, librerie, ... praticamente sono presi o da (Free?)BSD/BSD4.4Lite oppure da Linux oppure da GNU. Per il Posix come sia fatto il kernel o come sia l'interfaccia GUI non ha nessuna importanza. Avere i thread, piuttsto, o la gestione dei segnali e semafori, piuttosto che una shell sh invece ha importanza.

Cosa volevo dire. Che parlare di emulazione unix non solo è confuso ma a dir poco sbagliato (e sono buono)... perché non può essere emulato qualcosa che non è definito.

La compatibilità dei formati A.OUT, COFF, S-Record (;)), quello che volete non è un problema di emulazione. ma semplicemente un problema di loader e linking. Ha senso abbandonare i vari formati dato alla fine se è producibile un A.OUT... tanto vale rilinkare e fare un ELF che è più facile da gestire (e compatto...). Tutti gli unix oramai usano ELF... fate un po' voi: chi emula chi?

Caso particolare è Free/Open/Net/BSD che hanno (almeno su x86) la compatibilità Linux. Qui si parla di vera e propria emulazione dato che emulano il metodo di chiamata (syscall) del sistema Linux. Le syscall... non sono standardizzate da Posix... Per BSD emulare direttamente Linux permette di accedere ad un certo parco di strumenti (scientifici) distribuiti solo come ELF (matlab per esempio, almeno una volta, ora non so).

dopo queste note sgrammaticate vado a dormire

ciao

luigi

(*) Sotto kernel NT era disponibile una DLL chiamata Posix... ed una volta c'era il Trumpet WinSock che aggiungeva qualcosa di posix (indovinate...). Inoltre Cygwin è a tutti gli effetti un sottosistema Posix per WNT.


*
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Mon Jun 23, 2008 11:33 pm    Post subject: Reply with quote

Prego manang editare il titolo del thread e pensare fino a 10 prima di postare la prossima volta, thanks :P
_________________
minimalblue.com | secgroup.github.io/
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 24, 2008 6:39 am    Post subject: Reply with quote

Dopo lo sfoggio di competenze di Mr."oscilloscopio" Comio :wink: 8) , da abbastanza ignorante in materia lancio i miei 2 centesimi:

  • SheepShaver (Open Source PowerPC MacOS run-time environment)

Magari fa al caso tuo :P
_________________
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
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