www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/10/11/07:33:28

Date: Mon, 11 Oct 1993 11:51:04 +0100
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: ahelm AT email DOT tuwien DOT ac DOT at (Dipl.-Ing. Anton Helm)
Subject: gcc call too long (>128)

I use gcc with a makefile containing a gcc line for every file and a final
gcc line for linking. The number of files which should be linked becomes more
and more and by now I have serious problems with the constraint to 128
characters of the MS-DOS command line.

1) is it possible to specify a file, containing the names of 
   the files to be linked ?

2) is there any option to specify a directory, where to look for *.o files ?
   (like -Ixxxx for includes) this would at least reduce the length of the
   command line becouse I keep my *.o files in a subdirectory of my workdir.
   At the moment I workaround with:
      cd bin
      gcc .....
      cd ..

Any suggestions ? 



Tony


=============================================================================
                                  **
Institut fuer Nachrichtentechnik  **    Dipl.-Ing.
und Hochfrequenztechnik           **    Anton HELM
Guszhausstr. 25/389               **    Gratian-Marx Str. 7/27
A-1040 Wien                       **    A-1110 Wien
AUSTRIA                           **    AUSTRIA  
                                  **
Tel.: +43-1-58801-3524            **
FAX : +43-1-5870583               **
                                  **
=============================================================================
   ________   __    __           __        __   __   _______   __        __
  /__   __/  / /   / /          / /       / /  / /  / _____/  /  \      / /
    /  /    / /   / /  _____   / /  __   / /  / /  / /____   / /\ \    / /
   /  /    / /   / /  /____/  / /  / /  / /  / /  / _____/  / /  \ \  / /
  /  /    / /___/ /          / /__/ /__/ /  / /  / /____   / /    \ \/ /
 /__/    /_______/          /___________/  /_/  /______/  /_/      \__/

============================================================================
=



- Raw text -


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