From: Benjamin R. <Ben...@ep...> - 2004-03-21 14:01:24
|
Hi Ethan, Ethan Mallove <ema...@ya...> writes: > I compile hello.c with the -mno-cygwin and -H options and it appears > to be using the proper headers (namely, the non-cygwin ones), but > then the objdump says the executable DOES use cygwin1.dll. What's > going on? Are you sure you are using -mno-cygwin for compiling *and* for linking? > $ objdump -p hi.exe | grep "DLL Name" > DLL Name: cygwin1.dll > DLL Name: KERNEL32.dll Check with "objdump -p hi.exe | less" which actual symbols the binary imports from cygwin1.dll. Make sure that you only use functions that are supported by Mingw libraries. benny |