www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/23/09:57:24

Date: Fri, 23 Jul 1993 9:30:31 -0400 (EDT)
From: Steven Salter <SALTERS AT ADMIN DOT FANSHAWEC DOT ON DOT CA>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Cc: SALTERS AT ADMIN DOT FANSHAWEC DOT ON DOT CA
Subject: go32 bug?

Hello,

When trying to use @file to lengthen the command line of gcc, the following
locked up my computer (no-name '386 clone, 4 Meg, DOS 6).  

Removing the leading and trailing ' on the line in test.xxx solved the problem.
So did having a shorter line surrounded by ' '.

Since there is a work-around, and a trivial one at that, this probably won't
get anyone really excited, but I thought I would at least document it.  If I
don't hear of a fix, perhaps I will look into it later, but this means in the
fall.

---------------- cut here ---------------------------------------------
#!/bin/sh
# Bug report
# Error using @ to read in parameters

cat >test.xxx <<EOF
' -DRETSIGTYPE=void -DHAVE_LONG_DOUBLE=1 -DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_LIMITS_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_FCNTL_H -DSTACK_DIRECTION=0 -DVOID_CLOSEDIR=1 '
EOF
cat >hello.c <<EOF
main() { printf ("Hello, world\n"); return 0; }
EOF
gcc -v @test.xxx hello.c
---------------- to  here ---------------------------------------------

Thanks,

Steve Salter
Programmer, National Adult Literacy Database     salters AT admin DOT fanshawe DOT on DOT ca

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019