This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MSVC command line size


On 26 Mar 97 at 11:37, Fabrice Beauvir wrote:
> Hi, 
>  I'm porting unix application to NT whith MSVC 2.0.
> I m usig microsoft command line compiler cl and I have a problem
> using gnu make and bash . My cl command line, in makefile exceed 255
> caracters and cl failed. I cant use microsoft command file 'cause
> off UNIX compatibility. Anyone as a clue ? -- 

  It understands an indirect file as follows:

  cl <list_of_parameters> @<name_of_file_containing_the_rest_part_of_the_parameter_list>


  So you need something like this (well it is only to show an idea, with make 
one can create it another way too):

   echo "your 1st parameters"   > cl.lst
   echo "your 2nd parameters"  >> cl.lst
   echo "your n-th parameters" >> cl.lst
   echo "your last parameters" >> cl.lst
   cl @cl.lst

      Hope this  helps.
=================================================================
Dr. Valery Fine                  Telex : 911621 dubna su
    -----------
LCTA/Joint Inst.for NuclearRes   Phone : +7 09621 6 40 80
141980 Dubna, Moscow region      Fax   : +7 09621 6 51 45
Russia                           mailto:fine@main1.jinr.dubna.su
                                 mailto:fine@vxcern.cern.ch
Dr. Valeri Faine
    ------------                 Phone: +41 22 767 6468
CERN                             FAX  : +41 22 782 2601
CH-1211 Geneva, 23               mailto:fine@vxcern.cern.ch 
Switzerland                      http://nicewww.cern.ch/~fine
                                 
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]