This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: trying to build gdb with renamed cygwin1.dll


I tried the -mno-cygwin option but got several compile errors. I didn't
want to debug the sources because of time constraints. That is why I
thought that compiling against a renamed cygwin1.dll might be an eaisier
solution.

Fahd
 

-----Original Message-----
From: Andrew STUBBS [mailto:andrew.stubbs@st.com] 
Sent: Monday, April 30, 2007 11:30 AM
To: Fahd Abidi
Cc: gdb@sourceware.org
Subject: Re: trying to build gdb with renamed cygwin1.dll

Fahd Abidi wrote:
> My purpose is to try and build a gdb that so I can move it across 
> different windows platforms with out worrying about newer or older 
> versions of the cygwin dll interfering. I already looked at the MinGW 
> option but the newer versions of gdb do not build against mingw32.

I don't know about the exact solution you had in mind, but ....

You might want to investigate the -mno-cygwin GCC option. This builds
"MinGW" binaries (Minimum GNU for Windows) which do not depend upon
anything not present in a standard Windows installation. This is how our
Windows tools are built.

Obviously there are issues with doing it this way - no automatic support
for Cygwin pathnames being the biggest - but most of these can be
overcome with little effort, and all overcome with more effort.

Andrew




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