Dear all

I'm unable to use "cilly" when archives are involved:

# wget http://ftp.gnu.org/gnu/wget/wget-1.12.tar.gz
# tar xfz wget-1.12.tar.gz
# cd wget-1.12/
# ./configure
# make CC="cilly --noWrap --merge --save-temps"

ends with:

gcc -D_GNUCC -o wget -O2 -O2 -Wall wget_comb.o ../lib/libgnu.a 
../md5/libmd5.a -O2 -ldl -lrt
../lib/libgnu.a: could not read symbols: Archive has no index; run 
ranlib to add one
collect2: ld returned 1 exit status

What am I doing wrong? I would expect a successful compilation and a 
self contained "wget.cil.c" as output right next to the "wget" binary.
"libgnu.a" and "libmd5.a" contain source code, not objects.

What I can do is take from:
- a "make CC=cilly" compilation: wget.cil.c
- a regular "make" compilation: libgnu.a, libmd5.a
then this will work:
   gcc -O2 -s -o wget wget.cil.c libgnu.a libmd5.a -ldl -lrt


Thanks
Marco


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to