Mail Archives: djgpp-workers/2000/11/17/16:41:40
At 07:35 PM 11/17/00 +0000, Richard Dawe wrote:
<Snipped>
>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.
<Snipped>
>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)
- Raw text -