Revision: 1583
http://svn.sourceforge.net/complement/?rev=1583&view=rev
Author: complement
Date: 2007-06-06 10:56:23 -0700 (Wed, 06 Jun 2007)
Log Message:
-----------
test for build with static libstlport; use make release-static
Modified Paths:
--------------
trunk/complement/explore/inquiry/STLport/static/Makefile
trunk/complement/explore/inquiry/STLport/static/test.cc
Modified: trunk/complement/explore/inquiry/STLport/static/Makefile
===================================================================
--- trunk/complement/explore/inquiry/STLport/static/Makefile 2007-06-06 16:23:28 UTC (rev 1582)
+++ trunk/complement/explore/inquiry/STLport/static/Makefile 2007-06-06 17:56:23 UTC (rev 1583)
@@ -1,30 +1,8 @@
# -*- Makefile -*- Time-stamp: <03/07/09 18:08:47 ptr>
-# $Id$
SRCROOT := ../../..
COMPILER_NAME := gcc
-#STLPORT_DIR := /export/home/ptr/STLport.lab/cvs.stlport.com/STLport-R451_dev
-STLPORT_DIR := /export/home/ptr/STLport.lab/STLport
+#STLPORT_DIR := /export/home/ptr/STLport.lab/STLport-Makefiles
include Makefile.inc
include ${SRCROOT}/Makefiles/top.mak
-
-
-INCLUDES += -I$(SRCROOT)/include -I$(STLPORT_INCLUDE_DIR)
-
-LDFLAGS += -Wl,-rpath=$(STLPORT_LIB_DIR)
-
-release-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
-stldbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
-dbg-shared: LDSEARCH = -L${STLPORT_LIB_DIR}
-
-ifeq ($(OSNAME),sunos)
-release-shared : LDLIBS = -lstlport_gcc -lrt
-stldbg-shared : LDLIBS = -lstlport_gcc_stldebug -lrt
-dbg-shared : LDLIBS = -lstlport_gcc -lrt
-else
-release-shared : LDLIBS = -Wl,-dn -lstlport_gcc -Wl,-dy
-stldbg-shared : LDLIBS = -Wl,-dn -lstlport_gcc_stldebug -Wl,-dy
-dbg-shared : LDLIBS = -Wl,-dn -lstlport_gcc -Wl,-dy
-endif
-
Modified: trunk/complement/explore/inquiry/STLport/static/test.cc
===================================================================
--- trunk/complement/explore/inquiry/STLport/static/test.cc 2007-06-06 16:23:28 UTC (rev 1582)
+++ trunk/complement/explore/inquiry/STLport/static/test.cc 2007-06-06 17:56:23 UTC (rev 1583)
@@ -8,6 +8,7 @@
*/
#include <sstream>
+#include <iostream>
using namespace std;
@@ -22,5 +23,8 @@
int main(int argc, char* argv[])
{
+
+ cerr << "Hello!" << endl;
+
return(0);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|