Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Compiling on ultrasparc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yaron M. Minsky <yminsky@C...>
Subject: Re: [Caml-list] Compiling on ultrasparc
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