libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

arg list too long (so, split it into two?)


From: Robert Boehne
Subject: arg list too long (so, split it into two?)
Date: Thu, 05 Oct 2000 14:20:17 -0500

I have a large library that IRIX CC w/ multi-language libtool
is not happy creating.  It seems that the link line is too
much for CC to handle.  Is the only solution to split this
library into convience libs, then link those toghether?

Let me see if I have THAT straight, in my Makefile.am
I would need:
# the main target
lib_LTLIBRARIES=libTKBool.la
# archives with about half of the needed object files each
noinst_LTLIBRARIES = libPart1.la libPart2.la
# Is this how I make libTKBool.la ?
libTKBool_la_SOURCES = libPart1.la libPart2.la
# sources for the noinst archive libraries
libPart1_la_SOURCES = `about half of my original source files`
libPart2_la_SOURCES = `the other half of my original source files`
# link this library in when libTKBool.la is linked
libTKBool_la_LIBADD = @top_srcdir@/src/TKPrim/libTKPrim.la


L/sw5/rbo/OCC/OCC/src/TKMath/.libs -L/sw5/rbo/OCC/OCC/src/TKernel/.libs 
-lc   -soname libTKBool.so.1 `test -n "sgi1.0" && echo -set_version
sgi1.0` -update_registry .libs/so_locations -o .libs/libTKBool.so.1.0
../../libtool[3325]: /bin/CC: arg list too long
make.sgi62[3]: *** [libTKBool.la] Error 1

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]