delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/29/21:24:29

Date: Mon, 29 Sep 1997 18:22:53 -0700 (PDT)
Message-Id: <199709300122.SAA21020@adit.ap.net>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Trouble rebuilding libc and friends

I tried to rebuild the libc, and I encountered some problems. I thought I
should mention them, because IMHO these should not occur when rebuilding. I
am using DJLSR201.ZIP dated 10-31-96.

- In libm, the files src/libm/src/s_finite.S and sf_finit.S contain the line

setnel %al

The assembler (from Binutils 2.7) chokes on this, and IMHO rightly so, since
it seems to be saying "set if not equal: long" for an instruction that can
only take byte operands. The question is, though, should it be "setne %al"
(set al if not equal), or "setnle %al" (set al if not less than or equal)?

- In src/mkdoc/makefile, the linker invocation fails to include libgcc after
libc, causing an "undefined reference". This is easily fixed by adding it,
or by changing the complicated linker line to "gcc -o ../../bin/mkdoc.exe
mkdoc.o".

Any input welcome.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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