DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: c ompiling DDD
Richard Campbell
richard.campbell@air2web.com
Thu Dec 4 19:52:00 GMT 2003
>> 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.
More information about the Cygwin-xfree
mailing list