Mail Archives: djgpp/2000/05/09/10:37:54
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 -