* BSD optimized code
@ 1997-03-31 6:17 Ohad Rodeh
1997-04-01 11:29 ` Jacques GARRIGUE
0 siblings, 1 reply; 2+ messages in thread
From: Ohad Rodeh @ 1997-03-31 6:17 UTC (permalink / raw)
To: caml-list
Hi,
Does ocaml-1.05 create optimized code for the BSD operating
system version 2.1, with a pentium cpu?
Ohad.
PS
I got the following errors while trying to compile the "opt"
option:
gcc -c -DSYS_bsd -o i386.o i386.S
i386.S:40:invalid character '_' in opcode
i386.S:66:invalid character '_' in opcode
i386.S:81:invalid character '_' in opcode
i386.S:96:invalid character '_' in opcode
i386.S:111:invalid character '_' in opcode
i386.S:134:invalid character '_' in opcode
i386.S:147:invalid character '_' in opcode
i386.S:196:invalid character '_' in opcode
i386.S:206:invalid character '_' in opcode
i386.S:220:invalid character '_' in opcode
i386.S:235:invalid character '_' in opcode
i386.S:251:invalid character '_' in opcode
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BSD optimized code
1997-03-31 6:17 BSD optimized code Ohad Rodeh
@ 1997-04-01 11:29 ` Jacques GARRIGUE
0 siblings, 0 replies; 2+ messages in thread
From: Jacques GARRIGUE @ 1997-04-01 11:29 UTC (permalink / raw)
To: orodeh; +Cc: caml-list
Date: Mon, 31 Mar 1997 09:17:44 +0300 (IDT)
From: Ohad Rodeh <orodeh@cs.huji.ac.il>
Does ocaml-1.05 create optimized code for the BSD operating
system version 2.1, with a pentium cpu?
Yes, the native code compiler is optimizing on all platforms.
PS
I got the following errors while trying to compile the "opt"
option:
gcc -c -DSYS_bsd -o i386.o i386.S
i386.S:40:invalid character '_' in opcode
.....
The assembler of BSD/OS 2.1 is not compatible with its preprocessor !
I had the same problem, and finally resolved it by generating the
preprocessed source, and removing unnecessary space by hand. The
problem is that there should be no space between a label and the colon
following it, bu the preprocessor introduce some, and then mixes up
labels and opcodes.
Hope it helps.
Jacques
---------------------------------------------------------------------------
Jacques Garrigue Kyoto University garrigue@kurims.kyoto-u.ac.jp
<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-04-01 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-31 6:17 BSD optimized code Ohad Rodeh
1997-04-01 11:29 ` Jacques GARRIGUE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox