# 00:21:44 |
sh4rm4 |
Sazpaimon_, it's probably easier to fix your program to build with gcc 4.2... |
# 00:23:35 |
sh4rm4 |
or you make a uclibc toolchain. it has its own libstdc++ so those may not get into the way of each other |
# 00:24:28 |
sh4rm4 |
then you could change the soname of the libxml.so or just use LD_LIBRARY_PATH when loading your app |
# 00:25:36 |
sh4rm4 |
-Wl,soname=mylibxml.so ... |
# 00:27:04 |
sh4rm4 |
btw, you wouldnt have these problems with C ;) |
# 01:15:38 |
Sazpaimon_ |
sh4rm4 couldnt I use LD_LIBRARY_PATH right now |
# 01:20:34 |
sh4rm4 |
probably |
# 01:26:58 |
sh4rm4 |
"When shared libraries are created, the -soname directive is used to record the major version number of the library in the internal DT_SONAME field." |
# 01:27:19 |
sh4rm4 |
theoretically you could just patch your dll's |
# 01:27:33 |
sh4rm4 |
with a hexeditor... |
# 01:27:44 |
sh4rm4 |
i.e. libxml.so -> libxm_.so |
# 01:28:17 |
sh4rm4 |
and your binary to not refer to libxml.so, but to libxm_.so |
# 01:49:47 |
Sazpaimon_ |
sh4rm4, or I could build libxml with gcc 4.2, and the program that actually requires gcc 4.4 with 4.4 |
# 01:50:13 |
Sazpaimon_ |
removes the need for any crazy duplicate libraries |
# 01:52:33 |
sh4rm4 |
indeed |
# 01:53:22 |
Sazpaimon_ |
I guess what I can do is add $ORIGIN to -rpath when linking |
# 01:53:48 |
Sazpaimon_ |
then I can simply put the libstdc++ library in the package directory |
# 01:54:37 |
sh4rm4 |
btw, was i right with my guess about HAVE_INITFINI ? |
# 01:56:20 |
Sazpaimon_ |
no, I fixed it by by adding --fgnu89-inline to the cflags for compiling libc |
# 01:56:34 |
sh4rm4 |
interesting |
# 01:56:38 |
Sazpaimon_ |
reason the directory didnt exist was because it was in a previous state |
# 04:34:05 |
mnt_real |
quits : Quit: Leaving |
# 09:10:32 |
y_morin |
joins #crosstool-ng |
# 10:45:03 |
smartin_ |
joins #crosstool-ng |
# 12:05:54 |
sinseman44 |
joins #crosstool-ng |
# 12:24:16 |
smartin_ |
quits : Ping timeout: 252 seconds |
# 14:59:43 |
mnt_real |
joins #crosstool-ng |
# 15:59:40 |
y_morin |
quits : Quit: Back on-line in ~2h... |
# 16:34:08 |
sinseman44 |
quits : Read error: Operation timed out |
# 16:38:31 |
sinseman44 |
joins #crosstool-ng |
# 17:21:51 |
y_morin |
joins #crosstool-ng |
# 17:57:52 |
y_morin |
is now known as: y_morin|away |
# 17:57:58 |
y_morin|away |
is now known as: y_morin |
# 18:43:17 |
y_morin |
is now known as: y_morin|away |
# 18:46:54 |
y_morin|away |
is now known as: y_morin |
# 18:57:30 |
y_morin |
is now known as: y_morin|away |
# 19:56:04 |
y_morin|away |
is now known as: y_morin |
# 20:06:17 |
y_morin |
is now known as: y_morin|away |
# 20:35:32 |
y_morin|away |
is now known as: y_morin |
# 22:48:24 |
y_morin |
quits : Quit: g'd nite! |