From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA03460; Sat, 26 May 2001 23:56:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA03430 for ; Sat, 26 May 2001 23:56:21 +0200 (MET DST) Received: from staff.gtmd.com (adsl-63-195-80-23.dsl.snfc21.pacbell.net [63.195.80.23]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f4QLuJb09084 for ; Sat, 26 May 2001 23:56:20 +0200 (MET DST) Received: from aria.chasm.org (aria [192.168.0.3]) by staff.gtmd.com (8.9.3/8.9.3) with ESMTP id OAA33684 for ; Sat, 26 May 2001 14:55:07 -0700 (PDT) (envelope-from charles@chasm.org) Message-Id: <5.1.0.14.0.20010526144133.00ab0560@chasm.org> X-Sender: charles@chasm.org X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 26 May 2001 14:59:12 -0700 To: caml-list@inria.fr From: Charles Martin Subject: [Caml-list] cygwin port Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Trying the Cygwin port to Windows, when I build from sources and try a simple example: $ cat - > hello.ml let _ = print_endline "Hello" $ ocamlc -o hello hello.ml $ ./hello I get the popup dialog box, "A required DLL file, C:\TMP\HELLO.EXE, was not found." Another experiment: $ cat - > hello.ml let _ = Unix.write Unix.stdout "Hello\n" 0 6 $ ocamlc -o hello unix.cma hello.ml gcc: wsock32.lib: No such file or directory This even though I have copied wsock32.lib into /usr/local/lib (on my LIBRARY_PATH). If I copy wsock32.lib into the current directory, it makes it past this message, only to give many undefined references, for example: /tmp/ccNjkLkh.o(.data+0x370):camlprim0.c: undefined reference to `win_waitpid' I see that win_waitpid is defined in otherlibs/win32unix, but since I built this from sources under cygwin, this library shouldn't be needed? Any guidance appreciated. Here's the output I got from my ./configure, just for grins: Configuring for a i586-unknown-cygwin1.1.8 ... gcc found The C compiler is ANSI-compliant. Checking the sizes of integers and pointers... OK, this is a regular 32 bit architecture. 64-bit "long long" integer type found (printf with ll). This is a little-endian architecture. Doubles can be word-aligned. 64-bit integers can be word-aligned. ranlib found #! appears to work in shell scripts We won't use it, though, because of conflicts with .exe extension under Cygwin POSIX signal handling found. strerror() found. times() found. termcap functions found (with libraries '-lcurses') You have BSD sockets. unistd.h found. dirent.h found. rewinddir() found. getcwd() found. getwd() found. utime() found. utimes() found. dup2() found. fchmod() found. truncate() found. sys/select.h found. select() found. symlink() found. waitpid() found. wait4() found. getgroups() found. POSIX termios found. setitimer() found. gethostname() found. uname() found. gettimeofday() found. mktime() found. putenv() found. setlocale() and found. mmap() found. Replay debugger supported. Threads library supported (using bytecode-level scheduling). X11 not found, the "graph" library will not be supported. NDBM not found, the "dbm" library will not be supported. Configuring LablTk... tcl.h version 8.0 found. tk.h not found. Configuration failed, LablTk will not be built. ** Configuration summary ** Directories where Objective Caml will be installed: binaries.................. /usr/local/bin standard library.......... /usr/local/lib/ocaml manual pages.............. /usr/local/man/man1 (with extension .1) Configuration for the bytecode compiler: C compiler used........... gcc options for compiling..... -fno-defer-pop -Wall -Wno-unused -U_WIN32 options for linking....... -lm -lcurses Configuration for the native-code compiler: hardware architecture..... i386 OS variant................ cygwin C compiler used........... gcc options for compiling..... -Wall -Wno-unused -U_WIN32 options for linking....... -lm assembler ................ $(AS) preprocessed assembler ... gcc -c -DSYS_$(SYSTEM) profiling with gprof ..... not supported Source-level replay debugger: supported Configuration for the external libraries: libraries supported ...... unix str num dynlink bigarray threads The "num" library: target architecture ...... C The "graph" library: options for compiling .... options for linking ...... not found The "labltk" library: configuration failed ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr