Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.porting > #210

Re: ncurses 5.7 and terminal fun

From Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com>
Newsgroups comp.os.os2.programmer.porting
Subject Re: ncurses 5.7 and terminal fun
Date 2012-06-30 20:53 -0400
Organization Netfront http://www.netfront.net/
Message-ID <jso71g$149m$1@adenine.netfront.net> (permalink)
References <jsgnpc$2006$1@adenine.netfront.net> <c8e9c947-dbbf-47cb-b62d-7fc071ce5a75@googlegroups.com> <jshija$6cc$1@adenine.netfront.net> <4fec7368$0$1554$c3e8da3$9f400e27@news.astraweb.com>

Show all headers | View raw


On 06/28/12 11:08 am, Dave Yeo thus wrote :
> Lewis Rosenthal wrote:
>> On 06/28/12 05:33 am, dickey@his.com thus wrote :
>>> On Thursday, June 28, 2012 12:49:46 AM UTC-4, Lewis Rosenthal wrote:
>>>> 2. (Annoying) For some reason, likely related to my lack of experience
>>>> building on anything besides Linux, where one gets spoiled by the
>>>> config/make/install routine except for building very old or very new
>>>> stuff on (conversely) very old or very new OSes or with very old or
>>>> very
>>>> new tools, I am have a real time of trying to *not* link tinfo5.dll
>>>> dynamically. I really want to build less as a package usable with only
>>>> libc065 (building with gcc 4.4.6) as a dependency.
>>>
>>> tinfo (tinfo5.dll) is an optional split-out of low-level stuff from
>>> ncurses
>>> (ncurses5.dll).  portable applications should always check for both
>>> cases.
>>>
>> Thanks for the follow-up.
>>
>> If I run the exe while booted from a partition which does not have
>> tinfo5.dll in libpath, the app won't run, so it's definitely linked
>> dynamically.
>>
>> PMDLL says that less.exe is looking for:
>>
>> libc065
>> tinfo5
>> gcc446 (which is rather odd)
>>
>> tinfo5.dll is looking for urpo.dll, which PMDLL says can't be loaded,
>> though I'm not seeing a problem with this (or with gcc446, as the
>> alternate install definitely does not have a full gcc install).
>>
>> So, what would I pass to the compiler to have the executable check for
>> both cases?
>>
> 
> SET GCCOPT=-static-libgcc will remove the dependency on gcc446.dll.
> For tinfo5.dll you'll have to check your ncurses install for a static
> version of the lib and if one doesn't exist, rebuild ncurses with
> configure --disable-shared --enable-static.
> In theory -bstatic should link it statically, in practice the simplest
> is to move the import lib out of the way which will force linking the
> static version.
> btw, sometimes set TERM=ansi seems to work better then TERM=os2

Thank you, thank you, thank you!

:-)

-- 
Lewis
-------------------------------------------------------------
Lewis G Rosenthal, CNA, CLP, CLE, CWTS
Rosenthal & Rosenthal, LLC                www.2rosenthals.com
Need a managed Wi-Fi hotspot?                www.hautspot.com
visit my IT blog                www.2rosenthals.net/wordpress
-------------------------------------------------------------

--- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---

Back to comp.os.os2.programmer.porting | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

ncurses 5.7 and terminal fun Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2012-06-28 00:49 -0400
  Re: ncurses 5.7 and terminal fun dickey@his.com - 2012-06-28 02:33 -0700
    Re: ncurses 5.7 and terminal fun Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2012-06-28 08:27 -0400
      Re: ncurses 5.7 and terminal fun Dave Yeo <dave.r.yeo@gmail.com> - 2012-06-28 08:08 -0700
        Re: ncurses 5.7 and terminal fun Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2012-06-30 20:53 -0400
  Re: ncurses 5.7 and terminal fun "Trevor Hemsley" <Trevor.Hemsley@mytrousers.ntlworld.com> - 2012-06-28 11:53 -0500
    Re: ncurses 5.7 and terminal fun Lewis Rosenthal <lgrosenthal@2-de-sp-am-2rosenthals.com> - 2012-06-30 20:59 -0400
      Re: ncurses 5.7 and terminal fun Dave Yeo <dave.r.yeo@gmail.com> - 2012-06-30 22:15 -0700

csiph-web