From: lou@xilinx.com (Lou Sanchez-Chopitea)
Subject: Re: Command line parameters problem...
Date: 1995/10/31 [thread overview]
Message-ID: <473u9f$6ll@mailman.xilinx> (raw)
In-Reply-To: Pine.SOL.3.91.951029010748.24170A-100000-100000-100000@forbin.syr.edu
In article <Pine.SOL.3.91.951029010748.24170A-100000-100000-100000@forbin.syr.edu>,
Carl J. Lambrecht <cjlambre@mailbox.syr.edu> wrote:
>
>I am having trouble getting command line parameters passed when running
>an executable. The executable is a compiled C source code, which has the
>necessary argc,argv code to handle a command line argument, but whenever
>I try to run with my command line arguments:
> run foo.exe 3500
>I get an error on the 3500 stating that too many parameters have been
>used, reenter command with less parameters. Is there a compiler or
>linker flag which must be set to allow extra parameters? I am working on
>a VAX 4100, running OpenVMS 6.1, and compiled using the standard DEC C
>libraries, which appear to have all the C lib functions I need. What am
>I missing?
You have to make the invocation a foreign command. Then everything will
work. It is run that is objecting to extra parameters. Good luck.
>
>Thanks in advance...
>-Carl J Lambrecht
> Kinesis Computing, Inc.
Cheers
Lou
--
Lou Sanchez-Chopitea EMail: lou.sanchez-chopitea@xilinx.com
Senior Software Engineer SnailMail: 2100 Logic Drive
SpeakMail: (408) 879-5059 San Jose, CA 95124
FaxMail: (408) 377-4790 #include <disclaimer.h>
next prev parent reply other threads:[~1995-10-31 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-10-29 4:00 Command line parameters problem Carl J. Lambrecht
1995-10-30 5:00 ` Just me!
1995-10-30 5:00 ` gezelter
1995-10-31 5:00 ` Lou Sanchez-Chopitea [this message]
1995-10-31 5:00 ` Stephen Hoffman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox