This is the mail archive of the cygwin@sources.redhat.com 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 <cwilson@ece.gatech.edu> 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
suffice.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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