This is the mail archive of the
cygwin
mailing list for the Cygwin project.
binutils feature request: ld --disable-large-address-aware option
- From: Christian Franke <Christian dot Franke at t-online dot de>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Aug 2013 21:22:25 +0200
- Subject: binutils feature request: ld --disable-large-address-aware option
A few programs are not compatible with --large-address-aware which is
enabled by default in current x86 ld. For example cdrkit, dvd+rw-tools
and smartmontools use IOCTL_SCSI_PASS_THROUGH_DIRECT which apparently
requires user buffers below 2GiB.
Using "LDFLAGS=-Wl,--disable-large-address-aware" would be much easier
than adding an extra Cygwin specific "peflags --bigaddr=false *.exe"
post-build step.
(http://cygwin.com/ml/cygwin/2012-04/msg00342.html :-)
Thanks,
Christian
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple