2010-07-17 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
* src/vm/dynlibhb.c
* config/vxworks/libs.mk
+ Documented fact that VxWorks only supports dlopen() in
shared executables. I can see no way how Harbour could
support this.
* config/vxworks/gcc.mk
* config/vxworks/diab.mk
* Minor cleanups to HB_BUILD_SHARED mode.
This commit is contained in:
@@ -16,6 +16,18 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-07-17 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* ChangeLog
|
||||
* src/vm/dynlibhb.c
|
||||
* config/vxworks/libs.mk
|
||||
+ Documented fact that VxWorks only supports dlopen() in
|
||||
shared executables. I can see no way how Harbour could
|
||||
support this.
|
||||
|
||||
* config/vxworks/gcc.mk
|
||||
* config/vxworks/diab.mk
|
||||
* Minor cleanups to HB_BUILD_SHARED mode.
|
||||
|
||||
2010-07-17 16:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbodbc/todbc.prg
|
||||
* contrib/hbodbc/odbcold.c
|
||||
@@ -233,7 +245,8 @@
|
||||
disabled on this platform.
|
||||
- ARM/MIPS CPU support needs to be added to hbatomic.h
|
||||
- HB_LIBLOAD() and friends need to be implemented, but I hit
|
||||
walls here.
|
||||
walls here. [CLOSED: VxWorks support dlopen() only in shared
|
||||
executables. For static executables it fails at link time.]
|
||||
- MT apps GPFs, this needs to be fixed probably inside our
|
||||
code, but it's possible some build options are needed which
|
||||
I missed all along.
|
||||
|
||||
@@ -77,7 +77,7 @@ DLIBPATHS := $(foreach dir,$(LIB_DIR) $(SYSLIBPATHS_DYN),-L$(dir))
|
||||
LDLIBS := $(foreach lib,$(HB_USER_LIBS) $(LIBS) $(SYSLIBS_BIN),-l$(lib))
|
||||
|
||||
ifeq ($(HB_BUILD_SHARED),yes)
|
||||
LDFLAGS += -Wl, -Xdynamic
|
||||
LDFLAGS += -Xdynamic -Wl,-rpath /romfs/lib
|
||||
endif
|
||||
LDFLAGS += $(LDLIBPATHS)
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ DLIBPATHS := $(foreach dir,$(LIB_DIR) $(SYSLIBPATHS_DYN),-L$(dir))
|
||||
LDLIBS := $(foreach lib,$(HB_USER_LIBS) $(LIBS) $(SYSLIBS_BIN),-l$(lib))
|
||||
|
||||
ifeq ($(HB_BUILD_SHARED),yes)
|
||||
LDFLAGS += -non-static
|
||||
LDFLAGS += -non-static -Wl,-rpath=/romfs/lib
|
||||
endif
|
||||
LDFLAGS += $(LDLIBPATHS)
|
||||
|
||||
|
||||
@@ -13,9 +13,3 @@ ifeq ($(HB_CPU),arm)
|
||||
SYSLIBPATHS_DYN := $(WIND_BASE)/target/lib/usr/lib/arm/ARMARCH7/common/PIC
|
||||
endif
|
||||
endif
|
||||
|
||||
# For <dlfcn.h> support. I couldn't make it work though.
|
||||
# The lib is missing from PIC dir, so it can only work
|
||||
# for static targets, but even then, various tls symbols
|
||||
# are missing.
|
||||
#SYSLIBS_BIN += dl
|
||||
|
||||
@@ -76,6 +76,8 @@
|
||||
# include <os2.h>
|
||||
#endif
|
||||
|
||||
/* NOTE: VxWorks supports dlopen() functionality only in shared
|
||||
executables. [vszakats] */
|
||||
#if !defined( HB_HAS_DLFCN ) && \
|
||||
( ( defined( HB_OS_LINUX ) && !defined( __WATCOMC__ ) ) || \
|
||||
defined( HB_OS_SUNOS ) || defined( HB_OS_DARWIN ) || \
|
||||
|
||||
Reference in New Issue
Block a user