Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* compilateur natif pour architectures sparc/linux et m68k/linux ?
@ 1999-03-04  9:38 Sven LUTHER
  1999-03-05 13:28 ` Xavier Leroy
  0 siblings, 1 reply; 3+ messages in thread
From: Sven LUTHER @ 1999-03-04  9:38 UTC (permalink / raw)
  To: caml-list

Bonjour, ...

Je prevois d'installer Debian GNU/Linux sur ma station Sparc prochainement, et
je me demandais quels etait les chances de voir ocaml supporter linux/sparc
pour le compilateur natif.

A priori la partie linux et la partie sparc existe deja, quel est le travail
necessaire pour que cela marche. Est-ce quelque chose que je (ou quelqu'un
d'autre) pourrais contribuer eventuellement ?

Meme question en ce qui concerne linux/m68k, il existe deja un compilateur
natif pour sunos/m68k ...

je n'ai pas pus compiler ocamlopt avec GNU ar sur solaris/sparc, avec un
message disant que le flag -D_SYS_SOLARIS n'etait pas supporte par GNU ar.
Amicalement,

Sven LUTHER

Hello, ...

I plan to insatll Debian GNU/Linux on my Sun Ultra 1 box, and want to ask if
they were any chances to see ocamlopt support linux/sparc and linux/m68k
architectures ? what is involved in this, knowing that ocamlopt supports
already linux and both the sparc and m68k architectures under sunos.

also, i want to report that i was not able to build ocamlopt on solaris/sparc
with the ar from GNU binutils, something about not supporting the -D_SYS_SOLARIS
flag was reported by ar.

Friendly,

Sven LUTHER




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compilateur natif pour architectures sparc/linux et m68k/linux ?
  1999-03-04  9:38 compilateur natif pour architectures sparc/linux et m68k/linux ? Sven LUTHER
@ 1999-03-05 13:28 ` Xavier Leroy
  1999-05-05  7:34   ` Sven LUTHER
  0 siblings, 1 reply; 3+ messages in thread
From: Xavier Leroy @ 1999-03-05 13:28 UTC (permalink / raw)
  To: luther, caml-list

[English summary: ocamlopt is supported under Linux/Sparc, just configure with
 --host sparc-unknown-linux]

> Je prevois d'installer Debian GNU/Linux sur ma station Sparc
> prochainement, et je me demandais quels etait les chances de voir
> ocaml supporter linux/sparc pour le compilateur natif.

Eh bien, c'est déjà fait (depuis la version 2.00).  Je n'ai pas
re-testé le portage récemment, mais je pense qu'il tourne encore.

> je n'ai pas pus compiler ocamlopt avec GNU ar sur solaris/sparc, avec un
> message disant que le flag -D_SYS_SOLARIS n'etait pas supporte par GNU ar.

Ce doit être "as" et non pas "ar".  Le script de configuration tourne
autour de ce problème à condition que le type de machine soit
"sparc-<n'importequoi>-linux".  C'est ce que renvoyait
config/auto-aux/config.guess sur l'install RedHat 4.2 que j'avais
utilisée.  Si config.guess renvoie autre chose, vous pouvez forcer
manuellement le type de machine par

        configure --host sparc-unknown-linux

et m'envoyer le résultat de config/auto-aux/config.guess pour que je
mette à jour le script de config.

> Meme question en ce qui concerne linux/m68k, il existe deja un compilateur
> natif pour sunos/m68k ...

Cela devrait être trivial si, comme SunOS, Linux/M68k utilise la
syntaxe MIT de l'assembleur et préfixe les identificateurs par '_'.
Sinon, il y a un peu plus de travail.  Mais nous n'avons pas de
machine Linux/M68k ici pour tester.

- Xavier Leroy




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compilateur natif pour architectures sparc/linux et m68k/linux ?
  1999-03-05 13:28 ` Xavier Leroy
@ 1999-05-05  7:34   ` Sven LUTHER
  0 siblings, 0 replies; 3+ messages in thread
From: Sven LUTHER @ 1999-05-05  7:34 UTC (permalink / raw)
  To: Xavier Leroy, luther, caml-list

On Fri, Mar 05, 1999 at 02:28:24PM +0100, Xavier Leroy wrote:
> 
> Cela devrait être trivial si, comme SunOS, Linux/M68k utilise la
> syntaxe MIT de l'assembleur et préfixe les identificateurs par '_'.
> Sinon, il y a un peu plus de travail.  Mais nous n'avons pas de
> machine Linux/M68k ici pour tester.
> 

En fait, c'est encvore plus simple que ce que je disais la semaine derniere, il
suffit d'ajouter le flag --register-prefix-optional au options de l'assembleur ...

Amicalement,
Sven LUTHER




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-05-06  7:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-04  9:38 compilateur natif pour architectures sparc/linux et m68k/linux ? Sven LUTHER
1999-03-05 13:28 ` Xavier Leroy
1999-05-05  7:34   ` Sven LUTHER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox