Mail Archives: djgpp/1995/03/12/19:53:38
>I use aztec C as a realmode compiler.
>
>It uses:
> =long command line
>
>in the environment to get around the 128 byte limitation.
You mean ${} would expand to `long command line' with a proper shell,
I assume?
>Many other applications use response files
>(i.e. @name)
>to indicate to pull the args out of
> name
>
>1) how can I set an environment variable "=some line"
>(I tried it on linux, putenv worked (returned 0) but I couldn't find
>it in there,
>djgcc returns some large number...)
You might want to try setenv; putenv may be expecting at least one char
before the `=.' BTW, setenv also exists on both platforms.
>Here's the program:
[deleted]
>How can I get go32 apps to write argc/argv into a response file?
>(I can shove this into the environment...)
Using a for statement ought to work nicely.
--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp!
Geek code 2.1 [for explanation, finger hayden@ | `God's Laws' (Rudy Rucker,
vax1.mankato.msus.edu]: GCS/M/S d(-) H s g+ p? \ _Master of Space and Time_):
!au a17 w+ v+(++) C++(+++)>++++ UL++(S+)>++++ \ 1) Be clean. 2) Follow Gary.
P+(++) L++ 3(-) E- N+(++) K- W--(---) M-@ V-(--) \ 3) Teach God's Laws.
po-(--) Y+ t(+) !5 j(++) R(-) G' tv--(-) b+++ +---------------------------
!D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?
- Raw text -