Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jocelyn Serot <Jocelyn.Serot@lasmea.univ-bpclermont.fr>
To: caml-list@inria.fr (Caml mailing list)
Subject: Ocaml on a DEC alpha
Date: Thu, 01 Apr 1999 11:52:41 METDST	[thread overview]
Message-ID: <199904010952.LAA29670@mistral.univ-bpclermont.fr> (raw)

Hello,

I'm trying to use ocamlopt to generate binary executables for a machine
built upon DEC Alpha (21066) processors.
Cross-compilation is done on a Sun Ultra under Solaris.
As explained by X. Leroy in a recent mail, i've edited the config/Makefile
to use my specific cross-compiler/assembler and patched the name of
the assembler in the relevant files.

I have some problems with the assembly code given in asmrun/alpha.S and
generated when compiling stdlib/*.ml. For example:

    alpha.S:151: Warning: Illegal operands
        (* line 151 is:             jsr     garbage_collection *)

        alpha.S:238: Warning: Illegal operands
        (* line 238 is:             jsr     ($25) *)

        /tmp/camlasm9.s:1200: Error: Unknown opcode: `ldbu'
        (* when compiling stdlib/pervasives.ml, line 577 is:  ldbu    $2, 0($3) *)

    ...

The cross-assembler is a bundled derivative of GNU as (verbose option gives: 
   GNU assembler version 2.6 (alpha-dec-netbsd10), using BFD version 2.6)
and i could not find any information on the Alpha assembly language in the
GNU as doc. 
I was therefore wondering if someone who has played with the Alpha could give
me any hint..

Thanks,

J. Serot

E-mail: Jocelyn.Serot@lasmea.univ-bpclermont.fr .............................
S-mail: LASMEA - UMR 6602 CNRS, Universite Blaise Pascal, 63177 Aubiere cedex
Tel: (33) 04 73.40.73.30 - Fax: (33) 04 73.40.72.62 .........................
.... http://wwwlasmea.univ-bpclermont.fr/Personnel/Jocelyn.Serot/Welcome.html




                 reply	other threads:[~1999-04-01 10:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199904010952.LAA29670@mistral.univ-bpclermont.fr \
    --to=jocelyn.serot@lasmea.univ-bpclermont.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox