Glenn Moeller-Holst wrote:
[]
> Hi Martin
>
> I hope you have some patience left.
No problem :-)
[]
> Here you have my next two tries (they seem to not succeed):
Seems to me the third one did.
> Second try:
[]
> /bin/sh ../libtool --mode=link g++ -g -O2 -o nec2++ -all-static
> nec2cpp.o XGetopt.o ../src/libnecpp.la
> g++ -g -O2 -o nec2++ -static nec2cpp.o XGetopt.o -Wl,-bind_at_load
> ../src/.libs/libnecpp.a -lm -lstdc++
> /usr/bin/ld: can't locate file for: -lcrt0.o
Still same old bug.
> Third try:
[]
> /bin/sh ../libtool --mode=link g++ -g -O2 -o nec2++ -all-static
> nec2cpp.o XGetopt.o ../src/libnecpp.la
> libtool: link: warning: complete static linking is impossible in this
> configuration
> g++ -g -O2 -o nec2++ nec2cpp.o XGetopt.o ../src/.libs/libnecpp.a -lm
> -lstdc++
Yes, that's much better.
> abc:/Volumes/MacOSX4/nec2/necpp-1.2.3 root# make install
> Making install in src
[]
> /usr/bin/install -c .libs/libnecpp.0.0.0.dylib
> /usr/local/lib/libnecpp.0.0.0.dylib
> /usr/bin/install -c .libs/libnecpp.lai /usr/local/lib/libnecpp.la
> /usr/bin/install -c .libs/libnecpp.a /usr/local/lib/libnecpp.a
> ----------------------------------------------------------------------
> Libraries have been installed in:
> /usr/local/lib
> /bin/sh ../libtool --mode=install /usr/bin/install -c nec2++
> /usr/local/bin/nec2++
> /usr/bin/install -c nec2++ /usr/local/bin/nec2++
> /bin/sh ../mkinstalldirs /usr/local/include
> /usr/bin/install -c -m 644 libnecpp.h /usr/local/include/libnecpp.h
This looks good; all libs, binaries and headers are now installed in
/usr/local/{lib,bin,include} and are ready to be used.
Where is the problem?
--
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users