CrashTestDummy3 has quit [Ping timeout: 252 seconds]
groovy3shoes has joined #crux
tilman has quit [Ping timeout: 246 seconds]
groovy2shoes has quit [Read error: Connection reset by peer]
tilman has joined #crux
groovy3shoes has quit [Ping timeout: 260 seconds]
groovy2shoes has joined #crux
groovy2shoes has quit [Ping timeout: 260 seconds]
groovy2shoes has joined #crux
CrashTestDummy2 has joined #crux
CrashTestDummy has quit [Ping timeout: 252 seconds]
dusk_ has joined #crux
SiFuh has quit [Ping timeout: 246 seconds]
xor29ah has quit [Ping timeout: 268 seconds]
deltahotel has joined #crux
deltahotel has quit [Ping timeout: 260 seconds]
deltahotel has joined #crux
deltahotel has quit [Ping timeout: 252 seconds]
deltahotel has joined #crux
deltahote1 has joined #crux
deltahotel has quit [Ping timeout: 265 seconds]
deltahote2 has joined #crux
deltahote1 has quit [Ping timeout: 252 seconds]
deltahote2 has quit [Client Quit]
CrashTestDummy3 has joined #crux
CrashTestDummy2 has quit [Ping timeout: 252 seconds]
CrashTestDummy has joined #crux
CrashTestDummy3 has quit [Ping timeout: 252 seconds]
<Romster>
https://en.wikipedia.org/wiki/LessTif LessTif is a no longer developed free software reimplementation or clone of the Motif computer programming toolkit
daftaupe has joined #crux
<Romster>
well got wxwidgits aand wxgtk
<Romster>
wxMotif is a port of wxWidgets for X11 systems using Motif libraries. Motif libraries provide a clean and fast user interface at the expense of the beauty and candy of newer interfaces like GTK.
<Romster>
For further information, please see the files in docs/motif in the distribution.
<raph_ael>
Romster: I'm beginning at zero with portwash, ports -u, and depinst
<raph_ael>
I'll tell you
<Romster>
ok
<Romster>
i'm gonna be away for a bit as i get some food
elderK has quit [Quit: Connection closed for inactivity]
deltahote1 has quit [Read error: Connection reset by peer]
<raph_ael>
bon appétit :)
<Romster>
there
<ppetrov^>
guys, can you point me to some tutorial for creating statically linked executables?
<Romster>
from what language ppetrov^ ? and is this with a compiler or through Pkgfiles
<ppetrov^>
C++
<ppetrov^>
" with a compiler or through Pkgfiles" -- either
<stenur>
-static
<ppetrov^>
yep and I keep getting stuff like:
<ppetrov^>
undefined reference to
<ppetrov^>
from ldd
<ppetrov^>
*ld
<Romster>
so you need to include the static foo.a libs in the correct order
<stenur>
You need the libaries on the command line "gcc -static -o xy xy.c /usr/lib/xxx.a /usr/lib/yyy.a"
<Romster>
as you defined them in the program
<ppetrov^>
i did not even think about this
<ppetrov^>
ahaaa.... stenur
<Romster>
stenur, has it yeah
<ppetrov^>
ok, I'll try
<ppetrov^>
i am trying to build a program that builds on crux and slackware but fails on Debian and Ubuntu
<Romster>
or set -L. -L/usr/lib xxx.a yyy.a
<Romster>
for the path to the libs
<ppetrov^>
Romster, I did that
<ppetrov^>
actually it is so weird that I think i am getting nuts... I'll try what stenur suggested
<Romster>
not forgetting glibc or libstdc++ or something else?
<ppetrov^>
no
<Romster>
also bear in mind different verisons of tool chain might play a factor
<ppetrov^>
the program depends on a set of libraries from bio++
<ppetrov^>
i have them installed
<Romster>
and they all provde a static library?
<ppetrov^>
yes
<Romster>
well that's a good start
<stenur>
what symbols are undefined?
<Romster>
i once had one where i had a static lib but not a dynamic lib but i got such a weird error as it was pulled in by pkg-config
<ppetrov^>
stenur, just a moment, I'll paste. Also I will upload the Pkgfiles to github if you guys are interested. I hope i do not take too much of your time
<stenur>
uh oh cmake i dunno; but you need no -Wl,-rpath,/usr/lib/Bpp1.9 if you link statically?
<ppetrov^>
it builds fine on CRUX and I've been trying to build it on Debian or Ubuntu (long story) manually and it fails with ld errors. I then decided to try to make a static executable on CRUX that i will use on Debian.
<ppetrov^>
no I don't
<ppetrov^>
these are just the Pkgfiles I happily use on CRUX
<Romster>
but it fails to link staticly on crux?
<ppetrov^>
yes
<ppetrov^>
caps-coev
<ppetrov^>
this is the program that depends on the bpp libs
<stenur>
well the thing is if that thing build dynamic libraries then you cannot just use -static. You need to build the static libraries.
<ppetrov^>
the thing is, caps-coev does not use cmake
<Romster>
"-static-libgcc -static-libstdc++" as in that stackoverlofw might not be a bad idea too. since you probably don't have the same libstdc++/libgcc version in debian
<Romster>
for portability of C++ code
<Romster>
but that wont prevent it to compile staticly on crux
<Romster>
but it might or might not run on the other distro
deltahote1 has joined #crux
<ppetrov^>
thanks
deltahote1 has quit [Read error: Connection reset by peer]
deltahote1 has joined #crux
jjasghar has quit [Remote host closed the connection]
jjasghar has joined #crux
jjasghar has joined #crux
jjasghar has quit [Changing host]
<stenur>
especially older ones, might be an issue, yes.
deltahote1 has quit [Ping timeout: 252 seconds]
deltahote1 has joined #crux
<ppetrov^>
so, this is how I modified the Makefile: