Message-Id: <5.0.1.4.0.20001117161925.0256a340@pop5.banet.net> X-Sender: usbanet DOT farley3 AT pop5 DOT banet DOT net X-Mailer: QUALCOMM Windows Eudora Version 5.0.1 Date: Fri, 17 Nov 2000 16:42:22 -0500 To: djgpp-workers AT delorie DOT com From: "Peter J. Farley III" Subject: Re: Help: Isn't libdbg the debugging version of libc? Cc: richdawe AT bigfoot DOT com In-Reply-To: <3A158878.2C59BE68@bigfoot.com> References: <5 DOT 0 DOT 1 DOT 4 DOT 0 DOT 20001116230739 DOT 00a55af0 AT pop5 DOT banet DOT net> <5 DOT 0 DOT 1 DOT 4 DOT 0 DOT 20001116230739 DOT 00a55af0 AT pop5 DOT banet DOT net> <5 DOT 0 DOT 1 DOT 4 DOT 0 DOT 20001117121959 DOT 03459ad0 AT pop5 DOT banet DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 07:35 PM 11/17/00 +0000, Richard Dawe wrote: >I got bitten by the lcall problem with libsocket. I've enclosed below >the 'binutils' (well, 'as') version detection I used in libsocket's >config Makefile. Some comment lines have wrapped. >This is not very pretty, but I could not find any way of making the >code compiled without any warnings/errors with binutils 2.8.1 and >2.95.2 from the same sources. > >I'm not suggesting this be incorporated into the DJGPP build, since >it would add a dependency on sed, but it's a solution nonetheless. But couldn't we depend on the existence of the bnu*.mft or bnu*.ver file(s)? Then all we need is to test the existence of the several versions of the file(s) to determine the version of "as" to determine what define to use to make the assembly clean. Could that work? I'm no "as" expert at all, but is there not an assembly-time macro that identifies the version? And if so, could we not use that macro/symbol? Separately, do I need to make the "*" changes to the "exceptn.S" and "dbgcom.c" files manually to be sure I'm building a correct libc? Thanks for the info. --------------------------------------------------------- Peter J. Farley III (pjfarley AT dorsai DOT org OR pjfarley AT banet DOT net)