Re: [hatari-devel] GCC 4.9 is now used on my builds |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] GCC 4.9 is now used on my builds
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Sat, 31 May 2014 16:25:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=E46WKfqVrh7RWgxHOhEhLgOr75NprnB+t5JemY5dYG4=; b=XZykSV1Bh5zkH8SMS0nSAiW8rQd9A90pJgWbCUQi1CCVUJiyXIrzoRFi7pbmsYbheA euVkVnAQHCnbNnefSKsz+kEBjruWHphgTJzHopFHRtvuXMQZtFubBmC2qQAgmih0LMDO WnmJSEDuAq3ipnCoEVHGUJVr9PJWXmRyuwgWXuTeHEH9z1gk8fXZDsxfh61IXGvWa7Sx T6tS0FK73wpKNvdsWK2JxjP7B7HFkkjGWl52IY6KyGThOLVpuEQBEpGR+QPO0aJOVqIU tjBAouTF1sNU5sEDobmdWyCRj/yzETmBm5z6+rPFvdZhNgPmhABwCtPJ0iNXhlrZAqMU 7maw==
On Sat, May 31, 2014 at 12:40 AM, Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
> "rl_filename_completion_function" is checked because Hatari
> actually needs it for TAB completion. It's the functionality
> that provides file name completion fallback when there's
> no debugger command specific completion.
>
Yes. The problem with a static readline library is that other
dependent libraries are not included as with shared.
set(CMAKE_REQUIRED_LIBRARIES "readline" "ncursesw" ) seems to
do the trick for me, but people might have other termcap libraries. As
I'm not familiar with CMake I don't know how to check for different
libraries and chose one of them. (termcap, curses, ncurses and
ncursesw all contain the same fuction that readline needs to work)
--
chs