www.delorie.com/djgpp/faq/dev-probs/too-many-libs.html   search  
The linker cannot handle very large sets of object files. How can I link my program?

My program compiled and linked OK with djgpp 1.11maint5, but I can't make it compile under 1.12.

DJGPP 1.12 changed the way wildcards are expanded, and unfortunately this limited the size of the expansion to about 4096 bytes.

Stephen Turnbull has set up an anonymous ftp server which holds the previous version of djgpp (1.11, with maintenance releases upto maint5, which is based on gcc 2.5.7). Mixing programs from different versions of the compiler can cause problems, but if you absolutely can't avoid it, then anonymous ftp to turnbull.sk.tsukuba.ac.jp [130.158.99.4], chdir to directory /pub/djgpp/1.11 and get the files there. You can also reach this site by pointing your Web browser to the following URL:

http://turnbull.sk.tsukuba.ac.jp/public-ftp/djgpp/1.11/

Once you download the appropriate files (for the linker you will have to get the bnuXXXbn.zip), unzip the file ld.exe and use it to link your program.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1995     Updated Feb 1995