This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: State of the DLL, mark 2?
Hi!
Tuesday, 20 March, 2001 Christopher Faylor cgf@redhat.com 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/
./crash.sh
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. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19