This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Has ar a limit?
- To: binutils at sources dot redhat dot com
- Subject: Has ar a limit?
- From: "Orlando P. Hevia" <heviaop at ssdfe dot com dot ar>
- Date: Thu, 7 Jun 2001 21:19:41 -0300
I am using ar to generate a library with a big .o file
(640kB).
The object is generated by gcc, and it works properly when
it is linked to the binary.
The .c file is obtained with f2cx from a FORTRAN file,
because g77 cannot compile too big COMMONs. The FORTRAN
file is a block data (no sentences in it).
ar produces a library with the object, but the binary
obtained linking with the library runs erratically, or
aborts.
I found the same problem with djgpp (2.03), Mingw32 (2.02),
and Linux.
I solved the problem linking with the .o file, but I am
interested in include it in a library.
Thanks by any explanation.
OPH. 2001-6-7 21:21
Ing. Orlando P. Hevia
heviaop@ssdfe.com.ar
Santa Fe-Argentina