Ask a Question related to Sun Solaris, Design and Development.
-
amit #1
Making C++ Shared Object Library On Solaris
Hi,
I have got GNU c++ compiler installed on solaris.I want to create a
shared object library on solaris for an External stored procedure.Got
makefil.sol to be used on solaris as under :
CC=CC
FLAGS=+w -mt -g0 -KPIC -D_REENTRANT -DRW_MULTI_THREAD -DRW_NO_STL
-DUNIX -DCC
DEFINES=-DSunOS
INCLUDEDIRS=-I$(PMHOME)/ExtProc/include
INFLIBS=-L$(PMHOME) -lpmtx
SYSLIBS=-lc -lm -ldl
..SUFFIXES : .cpp
..cpp.o : ;$(CC) -c $(FLAGS) $(DEFINES) $(INCLUDEDIRS) $*.cpp -o $*.o
TARGET=libRowGenBase.so.1
OBJS=$(SRCS:%.cpp=%.o)
SRCS= \
atxrowgenbase.cpp \
version.cpp \
genrows.cpp
all : $(TARGET)
$(TARGET) : $(OBJS)
CC -o $(TARGET) -G -mt $(OBJS) $(SYSLIBS) $(INFLIBS)
I am wondering how should i compile this stuff using makefile so i
could get shared object on solaris.Thankx in advance.
amit Guest
-
#39197 [NEW]: How do I get shared library 'libphp5.so'?
From: lzsiga at freemail dot c3 dot hu Operating system: AIX PHP version: 5.1.6 PHP Bug Type: *Compile Issues Bug... -
How to refresh Shared Assets (Library)
How can you force Contribute (v3 on PC) to refresh its Shared Assets list? It doesn't appear to do it automatically. In DW, I have added new... -
shared library
hello, i have a problem here... i have too large images and this images are being used to do some animations... and there are common animations... -
Shared Memory instead of Network Library?
I am running SQL Server on the same box as ColdFusion. I would like to enhance security by eliminating the possibility of accessing the SQL Server... -
Regarding Shared library size
qazmlp wrote: There is no guaranty about the file size. You'll find that even different versions of the same compiler/linker will produce...



Reply With Quote

