delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/09/10:37:54

Date: Tue, 9 May 2000 14:56:27 +0200 (MET DST)
From: pad2369 <pad2369 AT iperbole DOT bologna DOT it>
Message-Id: <200005091256.OAA07201@maggiore.iperbole.bologna.it>
To: djgpp AT delorie DOT com, Sebastien Cleyet-Merle <sebastien DOT cleyet-merle AT st DOT com>
References: <3917D565 DOT FFE23B6E AT st DOT com>
In-Reply-To: <3917D565.FFE23B6E@st.com>
MIME-Version: 1.0
User-Agent: IMP/PHP3 Imap webMail Program 2.0.11
Sender: pad2369 AT iperbole DOT bologna DOT it
Subject: Re: Long line under MS DOs Problems
Reply-To: djgpp AT delorie DOT com

Sebastien Cleyet-Merle <sebastien DOT cleyet-merle AT st DOT com>:
> DJGPP works fine for me except that  some of my 
> compilation lines are
> too long because of the number of object file I have 
> to link together.

This is a true limitation of command.com, the command 
processor of ms-dos, which allows at most 126 
characters on the command line. 

This problem should not arise, unless you are compiling 
your programs calling directly gcc from the command 
line or doing something equivalent, like using .bat 
files.

DJGPP programs don't have this problem when they call 
(or are called by) other DJGPP programs. i.e. If you use
bash as your shell the 126 character limits disappear. 

Otherwise you can use RHIDE or gnu make to build your 
programs: being DJGPP programs, they can pass longer 
command lines to gcc.

You can have a look at the FAQ list, section 16, for 
more about this topic.

ciao
  Giacomo
------------------------------------------------------
Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it

- Raw text -


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