From: Pascal DOT Obry AT der DOT edfgdf DOT fr (Pascal OBRY) Subject: RE: Apologies 24 Feb 1998 16:23:05 -0800 Message-ID: <05DC434F2A4B1012*/c=fr/admd=atlas/prmd=edfgdf/o=der/ou=der-ccmail/s=Obry/g=Pascal/.cygnus.gnu-win32@MHS> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: "ian AT cygnus DOT com" (Return requested) (Receipt notification requested) Cc: "root AT jacob DOT remcomp DOT fr" (Return requested), "gnu-win32 AT cygnus DOT com" (Return requested), "noer AT cygnus DOT com" (Return requested) > -----Message d'origine----- > De: ian AT cygnus DOT com > Date: lundi 23 février 1998 19:17 > À: Pascal OBRY > Cc: root AT jacob DOT remcomp DOT fr; gnu-win32 AT cygnus DOT com; noer AT cygnus DOT com > Objet: Re: Apologies > > Date: 23 Feb 1998 13:33:15 +0100 > From: Pascal OBRY > > It seem to me that there is some steps not needed ! > > $(LD) --base-file BASEFILE --dll -o DLLNAME OBJS LIBS -e ENTRY > > $(DLLTOOL) --dllname DLLNAME --def DEFFILE --base-file BASEFILE > --output-exp EXPFILE --output-lib LIBFILE > > $(LD) EXPFILE -dll -o DLLNAME OBJS LIBS -e ENTRY > > This make a relocatable DLL and the import library file (LIBFILE .a). > This has worked fine everytime for me. > > It's true that you can combine the --output-lib with an earlier > invocation of dlltool. However, skipping the second round of dlltool > and ld can lead to trouble in certain cases, depending upon how your > linker script is set up, what you have in DEFFILE, and what exactly > goes into EXPFILE. For example, if you use the DESCRIPTION keyword in > your DLL file, EXPFILE will put stuff into the .rdata section, which > can change the addresses of other sections, and invalidate the > BASEFILE and hence the EXPFILE. > > If you know what you are doing, you can use a shorter procedure. I > was describing a procedure which I hope will always work in every case > for everyone. > > Ian Thanks for this good information ! Pascal. --|------------------------------------------------------------ --| Pascal Obry Team-Ada Member | --| | --| EDF-DER-IPN-SID- G A L A X I E | --| Intranet: http://cln49ae | --| Bureau N-023 e-mail: pascal DOT obry AT der DOT edfgdf DOT fr | --| 1 Av Général de Gaulle voice : +33-1-47.65.50.91 | --| 92141 Clamart CEDEX fax : +33-1-47.65.50.07 | --| FRANCE | --|------------------------------------------------------------ --| --| http://ourworld.compuserve.com/homepages/pascal_obry --| --| "The best way to travel is by means of imagination" - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".