State of the DLL, mark 2?

Egor Duda
Wed Mar 21 02:39:00 GMT 2001


Tuesday, 20 March, 2001 Christopher Faylor wrote:

>>can  you  give a little hint here? should i strip appropriate sections
>>from libc.a or it's better to build newlib with -DMALLOC_PROVIDED ?

CF> When I last did this, I removed all of the functions from libc.a with
CF> ar.  I didn't know about -DMALLOC_PROVIDED.  It would probably work, though.

well, i've managed to build it with -DMALLOC_PROVIDED, though it was a
bit  tricky,  and  it  turned  out  that cygwin1.dll is not the one to
blame.  i  fear  that  it's bug in ash -- it fails to evaluate complex
expressions.  attached  is testcase (as minimal as i could have worked
out). to run, unpack it to /cygdrive/c/temp/ and then

cd /cygdrive/c/temp/test/build/i586-pc-cygwin/sourceware/

i'm  not  an  expert  in  ash  internals,  so  probably  someone  more
experienced  will  step  forward. does ash have some restrictions like
buffer length for single expression? or expression depth?

ash is ash-20010129 from latest/

Egor.   ICQ 5165414 FidoNet 2:5020/496.19

More information about the Cygwin-developers mailing list