This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: compiling DDD
- From: Richard Campbell <richard dot campbell at air2web dot com>
- To: cygwin-xfree at cygwin dot com
- Cc: bug-ddd at gnu dot org
- Date: Thu, 4 Dec 2003 14:52:10 -0500
- Subject: RE: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: compiling DDD
- Reply-to: cygwin-xfree at cygwin dot com
>> Now, I guess, to try and walk back all of the automatic steps to figure
>> out why ddd ended up linking against that libimp-cygXm-2.a file.
>
>Credit or blame libtool for that.
Specifically, the following two settings:
# Whether or not to build static libraries.
build_old_libs=yes
# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds="\$DLLTOOL --as=\$AS --dllname \$soname --def
\$output_objdir/\$soname-def --output-lib \$output_objdir/\$newlib"
If commented out, everything works cleanly.
Now, the bizarre part of the generated libtool is the following:
# Whether or not to build shared libraries.
build_libtool_libs=yes
# Whether or not to build static libraries.
build_old_libs=yes
Why would you have both "shared" and "static" turned on?
Now, to configure, I suppose...
-Richard Campbell.