guess we do need to look at this..
Cliff

Mailing lists / lazarus / 1999-07
10 messages · 6 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
guess we do need to look at this..
Cliff
can I downloaded what I think you are refering to from the following link.…
?? make or the compiler ?
Also, why does make have anything to do with it? Isn't it ppc386 that reads the command line?
I am not sure that Go32v2 make constructs command-lines longer than 128 characters.
Michael.
> When I tried to use it, it complained that the -T parameter was illegal. ?? make or the compiler ?
I believe it was the compiler, because that version of make put a space between the -T and the win32.
The appear on the screen, but ppc386 complains about whatever is on the end of the line. As in the line ends with hello_world.pp and ppc386 says it can't find the file h or in lazarus, it ends with lazarus.pp but ppc386 says it can't find lazarus.p and so on...
I have a fix ftom Payne that should hit the list soon, but I found out for some reason -that- doesn't work to make the FCL. The workaround is trivial though.
Jeff.
You are not the first to notice this problem. Luckily, the solution is simple: If you use…
Any idea where to get this? Is it a shell? I don't think the cygwin had the problem either, but I wasn't really interested in running bash on win32. I had thought the 128 char command line was a limitation of the DOS box, and couldn't be overcome. I know that most DOS programs that hit this wall overcame it by passing parameters in a file instead of on the command line. Does make support this ability?
Jeff.
No, I meant that the make command itself can handle more than 128 chars. The shell cannot, except I think in batch files.
In any case I use the 'Unix for NT utilies' which come with a ksh kind of shell, it also handles >128 chars on the command line.
Michael.
I am doing what work I can under Win32 (for a little while longer, just got my RH6 CD) and I run into this problem constantly...
The command lines built by the make files frequently exceed the command line length limit for win32. The worst offender so far is the hello_world test app. Example:
ppc386.exe -Twin32 -Fue:/pp/source/rtl/win32 -Fue:/pp/source/units/win32 -Fu..
/fcl/win32 -Fu../rtl -Fu../gtk -Fu../lazarus -FE. -di386 hello_world.pp Free Pascal Compiler version 0.99.13 [1999/07/16] for i386 Copyright (c) 1993-98 by Florian Klaempfl
Target OS: Win32 for i386
Compiling h
Fatal: Can't open file h
make.exe: *** [hello_world.exe] Error 1
Notice the "Compiling h" line. The "ello_world.pp" part is completely clipped off.
Is there anything that can be done about this?
Jeff.
Michael Van Canneyt wroteLuckily, the solution is simple: If you use the mingw32 version of make.exe, there is no problem, since it
can
handle command-lines of more than 128 characters.
I downloaded what I think you are refering to from the following link.
ftp://agnes.dida.physik.uni-essen.de/home/janjaap/mingw32/newnew/
When I tried to use it, it complained that the -T parameter was illegal. Also, why does make have anything to do with it? Isn't it ppc386 that reads the command line?
Jeff.
guess we do need to look at this.. Cliff -----Original Message----- From: Jeffrey A.…
Cliff Baeseman wroteguess we do need to look at this..
You are not the first to notice this problem.
Luckily, the solution is simple:
If you use the mingw32 version of make.exe, there is no problem, since it can handle command-lines of more than 128 characters.
Michael.
I am doing what work I can under Win32 (for a little while longer, just got my RH6 CD)…
Under NT, put all the option in a cmd file, then
PPC386 <MyCmd.cmd FileToCompile.pp
should work. I think this can also work with Win 4.x (9..), but i've never try (I don't have any of them).
JDB
les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507
The problem is getting make to build the cmd file and then call ppc386 with it. I would rather not bypass make if possible, as if it changes for things like new dependencies, my batch version won't, and I'll be stuck doing this all over again. How to do this in a way that won't break anyone else is a challenge for tonight.
Jeff.