Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re: Objective Caml 2.99 released #2342

Closed
vicuna opened this issue Dec 21, 1999 · 2 comments
Closed

re: Objective Caml 2.99 released #2342

vicuna opened this issue Dec 21, 1999 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Dec 21, 1999

Original bug ID: 14
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

This does not mean that we are aware of any bug, [...]

  • labltk: another version of the ocamltk Tcl/Tk interface. It
    allows for a more natural syntax, using optional arguments.

Here's a patch and a bug report for labltk.

  1. The link scripts contain a couple of typos:

--- ocaml-2.99/otherlibs/labltk/lib/Makefile~ Wed Dec 15 16:02:14 1999
+++ ocaml-2.99/otherlibs/labltk/lib/Makefile Tue Dec 21 13:11:19 1999
@@ -35,15 +35,15 @@
labltklink: Makefile $(TOPDIR)/config/Makefile
@echo Generate $@
@echo "#!/bin/sh" > $@

  • @echo 'exec ocamlc -custom -I $(LABLTKDIR) tk41.cma "$$@"\' >> $@
  • @echo ' -cclib "-L$(LABLTKDIR) -llabltk41 $(TK_LINK)"\' >> $@
  • @echo 'exec ocamlc -custom -I $(LABLTKDIR) tk41.cma "$$@" ' >> $@
  • @echo ' -cclib "-L$(LABLTKDIR) -llabltk41 $(TK_LINK)" ' >> $@
    @echo ' $(X11_LINK) -cclib "$(CCLIBS) $(DLLIB)"' >> $@

labltkopt: Makefile $(TOPDIR)/config/Makefile
@echo Generate $@
@echo "#!/bin/sh" > $@

  • @echo 'exec ocamlopt -custom -I $(LABLTKDIR) tk41.cmxa "$$@"\' >> $@
  • @echo ' -cclib "-L$(LABLTKDIR) -llabltk41 $(TK_LINK)"\' >> $@
  • @echo 'exec ocamlopt -I $(LABLTKDIR) tk41.cmxa "$$@" ' >> $@
  • @echo ' -cclib "-L$(LABLTKDIR) -llabltk41 $(TK_LINK)" ' >> $@
    @echo ' $(X11_LINK) -cclib "$(CCLIBS) $(DLLIB)"' >> $@

All .{ml,mli} files are generated in this directory

  1. The colors of labltk applications coe out wrong with the native
    compiler on my Linux system (see below for the configuration,
    the bug is independent of whether I use native threads or not).
    E.g. ./eyes.opt has green eyes, while ./eyes is black on white.
    I haven't investigated this further yet.

** Configuration summary **

Directories where Objective Caml will be installed:
binaries.................. /home/ohl/ml/OCaml/bin
standard library.......... /home/ohl/ml/OCaml/lib/ocaml
manual pages.............. /home/ohl/ml/OCaml/man/man1 (with extension .1)
Configuration for the bytecode compiler:
C compiler used........... gcc
options for compiling..... -fno-defer-pop -Wall -Wno-unused -D_REENTRANT
options for linking....... -lm
Configuration for the native-code compiler:
hardware architecture..... i386
OS variant................ linux_elf
C compiler used........... gcc
options for compiling..... -Wall -Wno-unused -D_REENTRANT
options for linking....... -lm
assembler ................ $(AS)
preprocessed assembler ... gcc -c -DSYS_$(SYSTEM)
profiling with gprof ..... supported
Source-level replay debugger: supported
Configuration for the external libraries:
libraries supported....... unix str num dynlink systhreads graph dbm labltk
The "num" library:
target architecture ...... x86
The "graph" library:
options for compiling .... -I/usr/X11R6/include
options for linking ...... -cclib -L/usr/X11R6/lib -cclib -lX11
The "labltk" library:
use tcl/tk version ....... 7.6
options for compiling ....
options for linking ...... -ltcl7.6 -ltk4.2 -ldl

Season's Greetings,
-Thorsten

Thorsten Ohl, Physics Department, TU Darmstadt -- ohl@hep.tu-darmstadt.de
http://heplix.ikp.physik.tu-darmstadt.de/~ohl/ [<=== PGP public key here]

@vicuna
Copy link
Author

vicuna commented Dec 21, 1999

Comment author: administrator

Thank you for your kind report.
This was yet another incompatibility between sh and bash.
This is now corrected as you suggested in the CVS.

Jacques

@vicuna
Copy link
Author

vicuna commented Dec 23, 1999

Comment author: administrator

Fixed in 3.00

@vicuna vicuna closed this as completed Dec 23, 1999
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant