View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011768 | CMake | CMake | public | 2011-01-27 03:52 | 2011-06-06 18:25 | ||||
Reporter | Dongsheng Song | ||||||||
Assigned To | David Cole | ||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | Windows | OS | OS Version | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011768: Mingw target can not process .DEF files | ||||||||
Description | After I declared the following DLL target: ADD_LIBRARY(freetds-db SHARED freetds-db.def freetds-db.rc bcp.c dblib.c dbopen.c dbutil.c rpc.c xact.c) CMake use the following link command: C:\gcc-4.5-windows\bin\gcc.exe -s -static -shared -o libfreetds-db.dll -Wl,--out-implib,libfreetds-db.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -Wl,--whole-archive CMakeFiles\freetds-db.dir/objects.a -Wl,--no-whole-archive ..\tds\libtds.a ..\replacements\libreplacements.a -lws2_32 -lssp -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 Completely ignored freetds-db.def file, I expected freetds-db.def file in the link file list, e.g. C:\gcc-4.5-windows\bin\gcc.exe -s -static -shared -o libfreetds-db.dll -Wl,--out-implib,libfreetds-db.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -Wl,--whole-archive CMakeFiles\freetds-db.dir/objects.a -Wl,--no-whole-archive freetds-db.def ..\tds\libtds.a ..\replacements\libreplacements.a -lws2_32 -lssp -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0026685) David Cole (manager) 2011-06-06 18:25 |
Closing resolved issues that have not been updated in more than 3 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-01-27 03:52 | Dongsheng Song | New Issue | |
2011-02-03 17:47 | David Cole | Relationship added | duplicate of 0009997 |
2011-02-03 17:47 | David Cole | Status | new => resolved |
2011-02-03 17:47 | David Cole | Resolution | open => duplicate |
2011-02-03 17:47 | David Cole | Assigned To | => David Cole |
2011-06-06 18:25 | David Cole | Status | resolved => closed |
2011-06-06 18:25 | David Cole | Note Added: 0026685 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |