D with CygWin

unDEFER via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 18 03:32:10 PST 2016


So.. I have changed my cygwin/core/sys/posix/config.d
> enum _FILE_OFFSET_BITS   = 64;
to
> enum _FILE_OFFSET_BITS   = 32;

and now I have only these 3 problems:

===============================
$ dmd `find . -iname "*.d"` C:\\cygwin\\bin\\Cygwin1.lib
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
C:\D\dmd2\windows\bin\..\lib\snn.lib(io)  Offset 02387H Record 
Type 00C3
  Error 1: Previous Definition Different : _open
C:\D\dmd2\windows\bin\..\lib\snn.lib(io)  Offset 02657H Record 
Type 00C3
  Error 1: Previous Definition Different : _close
C:\D\dmd2\windows\bin\..\lib\snn.lib(io)  Offset 0271CH Record 
Type 00C3
  Error 1: Previous Definition Different : _remove
Error: linker exited with status 216661336
===============================

I still don't know where defined open/close/remove, but I need to 
use cygwin versions and I don't know how to make linker to choose 
it..


More information about the Digitalmars-d mailing list