caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Compiling on ultrasparc
@ 2003-03-21  2:43 Yaron M. Minsky
  2003-03-21 12:18 ` Yaron M. Minsky
  0 siblings, 1 reply; 8+ messages in thread
From: Yaron M. Minsky @ 2003-03-21  2:43 UTC (permalink / raw)
  To: Caml List

Has anyone had luck compiling ocaml on an ultrasparc?  Here's the result
of "uname -a" of the machine I'm using:

SunOS usf-cf-sparc-solaris-1 5.8 Generic_108528-17 sun4u sparc
SUNW,Ultra-60

(It's actually one of the sourceforge compile-farm machines.)

The tail end of the compile is shown below, which ends in some weird
"Error code" complains.  If anyone knows what's going on here, I'm all
ears.

---- Cut Here -----

make superclean
if test -f tk.cmo; then \
  echo We have changes... Now lib directory has no .cmo files; \
  rm -f *.cm* *.o; \
fi
cd ../labltk; make
cd ../camltk; make
../../../boot/ocamlrun ../../../tools/ocamlmklib -ocamlc
'../../../ocamlcomp.sh' -o labltk -oc labltk \
          -I ../labltk -I ../camltk ../support/support.cmo
../support/rawwidget.cmo  ../support/widget.cmo ../support/protocol.cmo 
../support/textvariable.cmo ../support/timer.cmo 
../support/fileevent.cmo ../support/camltkwrap.cmo tk.cmo place.cmo
wm.cmo imagephoto.cmo canvas.cmo button.cmo text.cmo label.cmo
scrollbar.cmo image.cmo encoding.cmo pixmap.cmo palette.cmo font.cmo
message.cmo menu.cmo entry.cmo listbox.cmo focus.cmo menubutton.cmo
pack.cmo option.cmo toplevel.cmo frame.cmo dialog.cmo imagebitmap.cmo
clipboard.cmo radiobutton.cmo tkwait.cmo grab.cmo selection.cmo
scale.cmo optionmenu.cmo winfo.cmo grid.cmo checkbutton.cmo bell.cmo
tkvars.cmo cTk.cmo cPlace.cmo cResource.cmo cWm.cmo cImagephoto.cmo
cCanvas.cmo cButton.cmo cText.cmo cLabel.cmo cScrollbar.cmo cImage.cmo
cEncoding.cmo cPixmap.cmo cPalette.cmo cFont.cmo cMessage.cmo cMenu.cmo
cEntry.cmo cListbox.cmo cFocus.cmo cMenubutton.cmo cPack.cmo cOption.cmo
cToplevel.cmo cFrame.cmo cDialog.cmo cImagebitmap.cmo cClipboard.cmo
cRadiobutton.cmo cTkwait.cmo cGrab.cmo cSelection.cmo cScale.cmo
cOptionmenu.cmo cWinfo.cmo cGrid.cmo cCheckbutton.cmo cBell.cmo
cTkvars.cmo labltk.cmo camltk.cmo \
          -ltk8.3 -ltcl8.3 -ldl -lX11
../../../ocamlcomp.sh -verbose -linkall -o labltktop -I ../support \
       -I ../../../toplevel toplevellib.cma \
       -I ../labltk -I ../camltk labltk.cma \
       -I ../../unix unix.cma \
       -I ../../str str.cma \
       topstart.cmo
*** Error code 2
*** Error code 1
*** Error code 1


-- 
|--------/            Yaron M. Minsky              \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|

Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

* Re: [Caml-list] Compiling on ultrasparc
  2003-03-21  2:43 [Caml-list] Compiling on ultrasparc Yaron M. Minsky
@ 2003-03-21 12:18 ` Yaron M. Minsky
  2003-03-21 13:55   ` Yaron M. Minsky
  2003-03-23 16:54   ` Xavier Leroy
  0 siblings, 2 replies; 8+ messages in thread
From: Yaron M. Minsky @ 2003-03-21 12:18 UTC (permalink / raw)
  To: Caml List

[-- Attachment #1: Type: text/plain, Size: 2924 bytes --]

I've gotten some replies on the ultrasparc, one of them indicating that
there is no native-code compilation for ultrasparc.  Is this true?  More
generally, is there a place where I can look up information as to which
platforms ocaml is supported on?

Yaron

On Thu, 2003-03-20 at 21:43, Yaron M. Minsky wrote:
> Has anyone had luck compiling ocaml on an ultrasparc?  Here's the result
> of "uname -a" of the machine I'm using:
> 
> SunOS usf-cf-sparc-solaris-1 5.8 Generic_108528-17 sun4u sparc
> SUNW,Ultra-60
> 
> (It's actually one of the sourceforge compile-farm machines.)
> 
> The tail end of the compile is shown below, which ends in some weird
> "Error code" complains.  If anyone knows what's going on here, I'm all
> ears.
> 
> ---- Cut Here -----
> 
> make superclean
> if test -f tk.cmo; then \
>   echo We have changes... Now lib directory has no .cmo files; \
>   rm -f *.cm* *.o; \
> fi
> cd ../labltk; make
> cd ../camltk; make
> ../../../boot/ocamlrun ../../../tools/ocamlmklib -ocamlc
> '../../../ocamlcomp.sh' -o labltk -oc labltk \
>           -I ../labltk -I ../camltk ../support/support.cmo
> ../support/rawwidget.cmo  ../support/widget.cmo ../support/protocol.cmo 
> ../support/textvariable.cmo ../support/timer.cmo 
> ../support/fileevent.cmo ../support/camltkwrap.cmo tk.cmo place.cmo
> wm.cmo imagephoto.cmo canvas.cmo button.cmo text.cmo label.cmo
> scrollbar.cmo image.cmo encoding.cmo pixmap.cmo palette.cmo font.cmo
> message.cmo menu.cmo entry.cmo listbox.cmo focus.cmo menubutton.cmo
> pack.cmo option.cmo toplevel.cmo frame.cmo dialog.cmo imagebitmap.cmo
> clipboard.cmo radiobutton.cmo tkwait.cmo grab.cmo selection.cmo
> scale.cmo optionmenu.cmo winfo.cmo grid.cmo checkbutton.cmo bell.cmo
> tkvars.cmo cTk.cmo cPlace.cmo cResource.cmo cWm.cmo cImagephoto.cmo
> cCanvas.cmo cButton.cmo cText.cmo cLabel.cmo cScrollbar.cmo cImage.cmo
> cEncoding.cmo cPixmap.cmo cPalette.cmo cFont.cmo cMessage.cmo cMenu.cmo
> cEntry.cmo cListbox.cmo cFocus.cmo cMenubutton.cmo cPack.cmo cOption.cmo
> cToplevel.cmo cFrame.cmo cDialog.cmo cImagebitmap.cmo cClipboard.cmo
> cRadiobutton.cmo cTkwait.cmo cGrab.cmo cSelection.cmo cScale.cmo
> cOptionmenu.cmo cWinfo.cmo cGrid.cmo cCheckbutton.cmo cBell.cmo
> cTkvars.cmo labltk.cmo camltk.cmo \
>           -ltk8.3 -ltcl8.3 -ldl -lX11
> ../../../ocamlcomp.sh -verbose -linkall -o labltktop -I ../support \
>        -I ../../../toplevel toplevellib.cma \
>        -I ../labltk -I ../camltk labltk.cma \
>        -I ../../unix unix.cma \
>        -I ../../str str.cma \
>        topstart.cmo
> *** Error code 2
> *** Error code 1
> *** Error code 1
-- 
|--------/            Yaron M. Minsky              \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|

Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Caml-list] Compiling on ultrasparc
  2003-03-21 12:18 ` Yaron M. Minsky
@ 2003-03-21 13:55   ` Yaron M. Minsky
  2003-03-21 14:11     ` Sven Luther
  2003-03-23 16:54   ` Xavier Leroy
  1 sibling, 1 reply; 8+ messages in thread
From: Yaron M. Minsky @ 2003-03-21 13:55 UTC (permalink / raw)
  To: Caml List

[-- Attachment #1: Type: text/plain, Size: 3248 bytes --]

I've now resolved my ultrasparc problems.  Turns out the solution was to
add the "--no-tk" flag to the ./configure invocation.

Thanks all,
Yaron

On Fri, 2003-03-21 at 07:18, Yaron M. Minsky wrote:
> I've gotten some replies on the ultrasparc, one of them indicating that
> there is no native-code compilation for ultrasparc.  Is this true?  More
> generally, is there a place where I can look up information as to which
> platforms ocaml is supported on?
> 
> Yaron
> 
> On Thu, 2003-03-20 at 21:43, Yaron M. Minsky wrote:
> > Has anyone had luck compiling ocaml on an ultrasparc?  Here's the result
> > of "uname -a" of the machine I'm using:
> > 
> > SunOS usf-cf-sparc-solaris-1 5.8 Generic_108528-17 sun4u sparc
> > SUNW,Ultra-60
> > 
> > (It's actually one of the sourceforge compile-farm machines.)
> > 
> > The tail end of the compile is shown below, which ends in some weird
> > "Error code" complains.  If anyone knows what's going on here, I'm all
> > ears.
> > 
> > ---- Cut Here -----
> > 
> > make superclean
> > if test -f tk.cmo; then \
> >   echo We have changes... Now lib directory has no .cmo files; \
> >   rm -f *.cm* *.o; \
> > fi
> > cd ../labltk; make
> > cd ../camltk; make
> > ../../../boot/ocamlrun ../../../tools/ocamlmklib -ocamlc
> > '../../../ocamlcomp.sh' -o labltk -oc labltk \
> >           -I ../labltk -I ../camltk ../support/support.cmo
> > ../support/rawwidget.cmo  ../support/widget.cmo ../support/protocol.cmo 
> > ../support/textvariable.cmo ../support/timer.cmo 
> > ../support/fileevent.cmo ../support/camltkwrap.cmo tk.cmo place.cmo
> > wm.cmo imagephoto.cmo canvas.cmo button.cmo text.cmo label.cmo
> > scrollbar.cmo image.cmo encoding.cmo pixmap.cmo palette.cmo font.cmo
> > message.cmo menu.cmo entry.cmo listbox.cmo focus.cmo menubutton.cmo
> > pack.cmo option.cmo toplevel.cmo frame.cmo dialog.cmo imagebitmap.cmo
> > clipboard.cmo radiobutton.cmo tkwait.cmo grab.cmo selection.cmo
> > scale.cmo optionmenu.cmo winfo.cmo grid.cmo checkbutton.cmo bell.cmo
> > tkvars.cmo cTk.cmo cPlace.cmo cResource.cmo cWm.cmo cImagephoto.cmo
> > cCanvas.cmo cButton.cmo cText.cmo cLabel.cmo cScrollbar.cmo cImage.cmo
> > cEncoding.cmo cPixmap.cmo cPalette.cmo cFont.cmo cMessage.cmo cMenu.cmo
> > cEntry.cmo cListbox.cmo cFocus.cmo cMenubutton.cmo cPack.cmo cOption.cmo
> > cToplevel.cmo cFrame.cmo cDialog.cmo cImagebitmap.cmo cClipboard.cmo
> > cRadiobutton.cmo cTkwait.cmo cGrab.cmo cSelection.cmo cScale.cmo
> > cOptionmenu.cmo cWinfo.cmo cGrid.cmo cCheckbutton.cmo cBell.cmo
> > cTkvars.cmo labltk.cmo camltk.cmo \
> >           -ltk8.3 -ltcl8.3 -ldl -lX11
> > ../../../ocamlcomp.sh -verbose -linkall -o labltktop -I ../support \
> >        -I ../../../toplevel toplevellib.cma \
> >        -I ../labltk -I ../camltk labltk.cma \
> >        -I ../../unix unix.cma \
> >        -I ../../str str.cma \
> >        topstart.cmo
> > *** Error code 2
> > *** Error code 1
> > *** Error code 1
-- 
|--------/            Yaron M. Minsky              \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|

Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Caml-list] Compiling on ultrasparc
  2003-03-21 13:55   ` Yaron M. Minsky
@ 2003-03-21 14:11     ` Sven Luther
  2003-03-21 14:42       ` Yaron M. Minsky
  0 siblings, 1 reply; 8+ messages in thread
From: Sven Luther @ 2003-03-21 14:11 UTC (permalink / raw)
  To: Yaron M. Minsky; +Cc: Caml List

On Fri, Mar 21, 2003 at 08:55:19AM -0500, Yaron M. Minsky wrote:
> I've now resolved my ultrasparc problems.  Turns out the solution was to
> add the "--no-tk" flag to the ./configure invocation.

Mmm, just curious, you do have tcl/tk installed, right, and which
version are you using ? ocaml 3.06 does not build with tcl/tk 8.4 for
example.

Friendly,

Sven Luther

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

* Re: [Caml-list] Compiling on ultrasparc
  2003-03-21 14:11     ` Sven Luther
@ 2003-03-21 14:42       ` Yaron M. Minsky
  0 siblings, 0 replies; 8+ messages in thread
From: Yaron M. Minsky @ 2003-03-21 14:42 UTC (permalink / raw)
  To: Sven Luther; +Cc: Caml List

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

On Fri, 2003-03-21 at 09:11, Sven Luther wrote:
> On Fri, Mar 21, 2003 at 08:55:19AM -0500, Yaron M. Minsky wrote:
> > I've now resolved my ultrasparc problems.  Turns out the solution was to
> > add the "--no-tk" flag to the ./configure invocation.
> 
> Mmm, just curious, you do have tcl/tk installed, right, and which
> version are you using ? ocaml 3.06 does not build with tcl/tk 8.4 for
> example.

The version of tcl/tk installed appears to be 8.3.

y

-- 
|--------/            Yaron M. Minsky              \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|

Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Caml-list] Compiling on ultrasparc
  2003-03-21 12:18 ` Yaron M. Minsky
  2003-03-21 13:55   ` Yaron M. Minsky
@ 2003-03-23 16:54   ` Xavier Leroy
  2003-03-23 22:13     ` Yamagata Yoriyuki
  1 sibling, 1 reply; 8+ messages in thread
From: Xavier Leroy @ 2003-03-23 16:54 UTC (permalink / raw)
  To: Yaron M. Minsky; +Cc: Caml List

> I've gotten some replies on the ultrasparc, one of them indicating that
> there is no native-code compilation for ultrasparc.  Is this true?

No.  The (32-bit) code generated by the SPARC version of ocamlopt runs
just fine on an UltraSPARC.  It doesn't exploit the 64-bit
instructions of the UltraSPARC, but unless you have more than 4Gb of
memory, you shouldn't care too much.

> More generally, is there a place where I can look up information as
> to which platforms ocaml is supported on?

For instance, the README file in the source distribution.  

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

* Re: [Caml-list] Compiling on ultrasparc
  2003-03-23 16:54   ` Xavier Leroy
@ 2003-03-23 22:13     ` Yamagata Yoriyuki
  2003-03-24 14:44       ` Xavier Leroy
  0 siblings, 1 reply; 8+ messages in thread
From: Yamagata Yoriyuki @ 2003-03-23 22:13 UTC (permalink / raw)
  To: caml-list

From: Xavier Leroy <xavier.leroy@inria.fr>
Subject: Re: [Caml-list] Compiling on ultrasparc
Date: Sun, 23 Mar 2003 17:54:30 +0100

> No.  The (32-bit) code generated by the SPARC version of ocamlopt runs
> just fine on an UltraSPARC.

When I built ocaml on UltraSPARC with Linux, configure reported the
native-code compilation is not supported.  Maybe just configure don't
know the platform.  (The platform is reported as
sparc64-unknown-linux-gnu by configure.)

--
Yamagata Yoriyuki

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

* Re: [Caml-list] Compiling on ultrasparc
  2003-03-23 22:13     ` Yamagata Yoriyuki
@ 2003-03-24 14:44       ` Xavier Leroy
  0 siblings, 0 replies; 8+ messages in thread
From: Xavier Leroy @ 2003-03-24 14:44 UTC (permalink / raw)
  To: Yamagata Yoriyuki; +Cc: caml-list

> > No.  The (32-bit) code generated by the SPARC version of ocamlopt runs
> > just fine on an UltraSPARC.
> 
> When I built ocaml on UltraSPARC with Linux, configure reported the
> native-code compilation is not supported.  Maybe just configure don't
> know the platform.

Right, I forgot about this configure glitch, which is fixed in the
working sources.  Running configure with the option
"-host sparc-unknown-linux-gnu" would correctly activate the
native-code compiler.

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

end of thread, other threads:[~2003-03-24 14:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-21  2:43 [Caml-list] Compiling on ultrasparc Yaron M. Minsky
2003-03-21 12:18 ` Yaron M. Minsky
2003-03-21 13:55   ` Yaron M. Minsky
2003-03-21 14:11     ` Sven Luther
2003-03-21 14:42       ` Yaron M. Minsky
2003-03-23 16:54   ` Xavier Leroy
2003-03-23 22:13     ` Yamagata Yoriyuki
2003-03-24 14:44       ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).