delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/07/19:29:14

Message-Id: <200106080027.UAA22806@pop2.lc-2.la.inter.net>
From: "Orlando P. Hevia" <heviaop AT ssdfe DOT com DOT ar>
To: djgpp AT delorie DOT com
Date: Thu, 7 Jun 2001 20:24:14 -0300
MIME-Version: 1.0
Subject: Has ar a limit?
In-reply-to: <3B1FD7F1.CE8A9868@netzero.net>
X-mailer: Pegasus Mail for Windows (v3.12b)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 20:25

Ing. Orlando P. Hevia   
heviaop AT ssdfe DOT com DOT ar
Santa Fe-Argentina

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019