Commit Graph

13 Commits

Author SHA1 Message Date
Svyatoslav Scherbina d6b8b4fb0f Add basic support for Windows with mingw-w64 2017-05-29 19:13:55 +03:00
Svyatoslav Scherbina d7adbfd221 Reconfigure interop with LLVM
Use more strict linking.
Also remove unused components.
2017-05-29 19:13:55 +03:00
Svyatoslav Scherbina 8a0b494c2e Apply interop filtering
Also actualize .def files
2017-04-26 20:07:06 +03:00
Vasily Levchenko 84d62eb471 DEBUGINFO: makes debug info stab usable from konan compiler 2017-04-19 09:52:05 +03:00
Svyatoslav Scherbina f564bd7707 Always link bitcode files specified with -nativelibrary 2017-03-30 15:55:39 +03:00
SvyatoslavScherbina 2882e6fab7 Improve interop enums (#341)
* Update build to Kotlin 1.1.0

* Add heuristics and options for selecting C enum interop binding style

Also do some refactoring.

* Add ':Interop:Indexer:updatePrebuilt' Gradle task

* Update Interop/Indexer/prebuilt
2017-03-14 18:52:37 +03:00
Svyatoslav Scherbina 3d36973022 backend/build: improve LLVM link options
Update options according to llvm-config:

* delete "--stdlib=libc++"  (it seems to provoke runtime link errors on Linux)
* remove "-lffi" (it doesn't seem to be required)
* remove "-lc++" on macOS

Also move Linux system libs options to llvm.def (as for macOS)
2016-11-14 14:12:25 +07:00
Vasily Levchenko 3aa825cfe6 missed part of linux build: system libraries should go to the end 2016-10-27 12:35:56 +03:00
Vasily Levchenko e721a4e19d fix build: mac and linux should take llvm libraries from dependencies/all/clang+llvm..., instead from system path 2016-10-26 22:23:57 +03:00
Vasily Levchenko 202d03644d fix build: (mac and linux)
common fix of build: add to link flags -LlibffiDir -lffi
llvm.def: os specific remove from ldflags -lffi, it shoould appear after -LlibffiDir...
2016-10-26 21:16:17 +03:00
Vasily Levchenko b852225007 linux build fix: remove libtinfo some info:
Git Clone URL:https://aur.archlinux.org/libtinfo.git (read-only)
Package Base:libtinfo
Description:symlink to ncurses for use in cuda and other packages
Upstream URL:http://www.gnu.org/software/ncurses/
Licenses:MIT
Submitter:hav3lock
Maintainer:hav3lock
Last Packager:hav3lock
Votes:209
Popularity:8.144062
First Submitted:2013-08-18 23:48
Last Updated:2016-05-24 22:29
2016-10-26 19:04:04 +03:00
Svyatoslav Scherbina 94f3c1d048 Interop: implement stub gen without .def
also add some default values to .def file format
2016-10-13 13:10:44 +03:00
Svyatoslav Scherbina 57cfc617a6 Interop: represent it as dependency in Gradle plugin 2016-10-12 16:29:52 +03:00