delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/05/21:57:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <393C5A55.3BE39579@ece.gatech.edu>
Date: Mon, 05 Jun 2000 21:56:37 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Patch for g++
References: <200006052302 DOT QAA11584 AT cygnus DOT com> <20000605190443 DOT B1233 AT cygnus DOT com> <393C344D DOT FDEFEC15 AT ece DOT gatech DOT edu> <20000605192013 DOT A4053 AT cygnus DOT com> <20000605213557 DOT E4509 AT cygnus DOT com>

No problem -- the lack of response was because I was away from the
computer; not because I was miffed over the Ron/Chuck mixup...

Anyway, the patch was related to the dll search order thing, but it
wasn't specifically intended for that. The dll search order was a
binutils patch. The gcc patch modified only collect2.c and the
cygwin-specs file (indirectly via cygwin.h). See attached below.

--Chuck


Chris Faylor wrote:
> 
> On Mon, Jun 05, 2000 at 07:20:13PM -0400, Chris Faylor wrote:
> >Was your patch for changing the dll search order, Ron?
>                                                    ^^^
>                                                    Chuck?
> 
> Sorry about that.
> 
> cgf

----------------------------------snip----------------------
diff -u gcc-2.95.2-orig/gcc/config/i386/cygwin.h
gcc-2.95.2/gcc/config/i386/cygwin.h
--- gcc-2.95.2-orig/gcc/config/i386/cygwin.h    Wed May 17 00:54:19 2000
+++ gcc-2.95.2/gcc/config/i386/cygwin.h Wed May 17 00:58:48 2000
@@ -125,7 +125,9 @@
                   %{shared: --shared} %{mdll:--dll} \
                   %{shared|mdll: -e \
                     %{mno-cygwin:_DllMainCRTStartup AT 12} \
-                    %{!mno-cygwin:__cygwin_dll_entry AT 12}}"
+                    %{!mno-cygwin:__cygwin_dll_entry AT 12}} \
+                       %{static:-Bstatic} \
+                       %{!static:-Bdynamic}"
 
 
 #define SIZE_TYPE "unsigned int"
diff -u gcc-2.95.2-orig/gcc/collect2.c gcc-2.96.2/gcc/collect2.c
--- gcc-2.95.2-orig/gcc/collect2.c      Sun May 14 22:44:18 2000
+++ gcc-2.95.2/gcc/collect2.c   Sun May 14 22:40:57 2000
@@ -260,7 +260,7 @@
 static struct path_prefix libpath_lib_dirs; /* directories in LIBPATH
*/
 static struct path_prefix *libpaths[3] = {&cmdline_lib_dirs,
                                          &libpath_lib_dirs, NULL};
-static char *libexts[3] = {"a", "so", NULL};  /* possible library
extentions */
+static char *libexts[4] = {"a", "so", "dll", NULL};  /* possible
library extentions */
 #endif
 
 void error             PVPROTO((const char *, ...)) ATTRIBUTE_PRINTF_1;
----------------------------------snip----------------------

begin 664 gcc-2.95.2-cygwin.patch.gz
M'XL(""<J(CD``V=C8RUP871C:`"54_UOVC`0_3GY*ZZI5K4$)R'E,V AT 296,:
M$FT1I)OVI2A-#%@*#G+,5M3QO^],2%JA%;6*E#OGGM^=_5YB-IL!6<,\BHAK
M=1J62U+!YC:N[2CE,TS99;MI1YOY'\:MQ3/@BQB=$/)J0NTKC>$ZW$"M!8[C
M->I>K0.NXSBZ:9JOZ79(T/;J[9R AT UP-2<QO5%I AT J=*#7TT'3`.#=8[8(!8T]
M("3/MOAM&2>)1PB^M_#S`/EW5P1"RXJJ+7E*\CF\X&.27(>,?YCX4QD*N5[U
M:J[B(27ZY#D\R),`:0/*I=@H^-;0S;?`D1[Q&@XI0\DBC_3SY*EP4E;B#0^7
M6#)T4,]I3&>,4Y AT  DOT OP\"_]MX`,::9VS.\389EX8>'W5&DM!(NE94E)NE0D7E
MB`L*B#9=\URZ.KBN5T?MVT>T?VD;BMYZ4MQM.DKQ/"C%\QO`(-:1A%4H%\%*
MX.$?(&'WNR7&(&8BZX)=`4RP#4Y+,[P(&`W[XRO_,U3L8TR5/57VX_(7O(?'
MLPC]@M=;4E>5:S2E[=EAURK<W(U&VZY.]OP1.F['2!]D06B$1A6,+#4*-*A9
M5VF6L?N$JI.(4&P`=Z`[6,HS-;#Y7\+Z(:&!IGH3+YQ2CO90-OJ=LABH$*G0
MM/&7\>36OST_Q]\TD_NN5;`LZ^("KGQ_,NS?^8-@/!G>^)^"6E?_!Z_4B-=]
#!```
`
end

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019