Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Using nmake with managed builds

I included the following command into make file (WinXP) :

gcc -c -D$(TTTTT) myFile.c

where TTTTT contained 7000 characters and launched it. File myFile.c was successfully compiled. Are you talking about this command line?

Recoskie, Chris wrote:

Like Mikhail says, the make utility (whether it's GNU make, nmake, any
make-alike will do) issues the commands via the OS shell.  The OS (in
this case, windows) will generally have a limitation on the length of a
command.

Make and nmake themselves don't limit the length to my knowledge, but
when they try to invoke the command via the shell, it fails due to the
length issue.

___________________________________________

Chris Recoskie
Software Designer
Texas Instruments, Toronto
http://eclipse.org/cdt


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On
Behalf Of Alex Chapiro
Sent: Friday, September 30, 2005 1:52 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Using nmake with managed builds

If you are talking about make command line, you can for example
instead
of generating long command line , create temporary make file, fill it
with your command line arguments and add include Makefile at the end
of
it, then launch make --file=<tempFile>, then remove <tempFile>. If you
are taking about length limitation of commands in make file, I don't
know about it. Does it really exist?

Sennikovsky, Mikhail wrote:

Hi,

Cygwin make has also command length limitation, that actually has to
do
with the command length limitation on windows in general.
Please see the bugzilla# 72965 related to this.

Thanks,
Mikhail


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of vladchuk@xxxxxxxxxxx
Sent: Friday, September 30, 2005 9:32 PM
To: Cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Using nmake with managed builds



Apparently, nmake  has a makefile command length limitation (is it
1024
chars?) so it is  impossible to use it with anything but trivial
projects.
Does anybody know  how toget around this problem?

Thanks,
vladchuk


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top