This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XEmacs on cygwin wierdness

--- Charles Wilson <> wrote:
> Okay, dumb question time.  I hunted in the archives -- I *know* Chris
> posted these instructions at one time or another, but I can't find
> them.  How do I build a debuggable cygwin dll.  Here's my current,
> non-debug cygwin.dll build script:
> #!/bin/sh -x
> export src=/usr/src/cygwin/src
> export inst=/usr/src/cygwin/inst
> export CC_FOR_TARGET=/usr/bin/gcc
> export CXX_FOR_TARGET=/usr/bin/c++
> $src/configure --host=i686-pc-cygwin \
>   --target=i686-pc-cygwin --enable-haifa --prefix=/usr \
>   --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
>   --includedir=/nonexistent/include
> make CFLAGS=-O2 tooldir=/usr

make CFLAGS="-g -O2" tooldir=/usr

Actually CFLAGS="-g -O2" is the default; so, `make tooldir=/usr' should


Earnie Boyd

---         <>         ---
--- Cygwin: POSIX on Windows <> ---
---   Minimalist GNU for Windows <>   ---

Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!

Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]