bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building C++ ncurses archive


From: bug-ncurses
Subject: Building C++ ncurses archive
Date: Wed, 15 Aug 2001 23:02:17 -0500
User-agent: Mutt/1.2.5i

I don't know if this matters (we don't have any C++ programs linking
against the ncurses C++ library) but, with Solaris CC and IRIX CC, the
preferred way to create a static archive of C++ code is:
  (Solaris CC)
  $ CC -xar -o <lib>.ar <.o> <.o> ...

  (IRIX CC)
  $ CC -ar -o liba.a a.o b.o c.o

-- 
albert chin (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]