Article View: gnu.gcc.help
Article #49693New GCC/2 user
From: Archimedes L. Trajano
Date: Sun, 26 Dec 1993 00:52
Date: Sun, 26 Dec 1993 00:52
64 lines
2610 bytes
2610 bytes
I recently obtained GCC/2 from an FTP site. The package included
the following zip files...
BASE254.ZIP
C254.ZIP
CPLUS254.ZIP
DEV254.ZIP
MAN254.ZIP
OBJC254.ZIP
SAMPL254.ZIP
TEXI254.ZIP
I tried to compile one of the samples in the samples
directory by typeing in:
MAKE MAKEFILE
and
MAKE < MAKEFILE
However, it just said that it could not find NMAKE (which
is not in the ZIPs the I got)
I also tried compiling the program "on the spot" by using
gcc -O sample1.c -o SAMPLE1.EXE
However I got:
cpp: W:/gcc2/tmp/cc000122.i: Bad file descriptor
Am I missing anything?
BTW, I installed GCC in a FAT partition... would it make
a difference if I installed it in an HPFS partition?
N.B. IMHO, it shouldn't GCC/2 should be smart enough to
concatenate the include file names in the include and
source files to MS-DOS's 8.3 format if the file is
located in a FAT partition. At least in the preprocessor
and it should just print out a warning if the file name
is longer than it should.
For example:
In file included from sample2.cc:1:
W:/gcc2/gppincl/iostream.h:25: streambuf.h: File name too long
In file included from W:/gcc2/gppincl/iolibio.h:1,
from W:/gcc2/gppincl/libioP.h:30,
from W:/gcc2/gppincl/iostream.h:26,
from sample2.cc:1:
W:/gcc2/gppincl/libio.h:35: _G_config.h: File name too long
cpp: W:/gcc2/tmp/cc000124.i: Bad file descriptor
P.S., I am just starting C so for now I think it is _beyond_ my
power to modify the source code of GCC to make the suggestions
I pointed.
BTW, I am also using v.2.5.4 is there a more recent version (or
patch?) And where can I get it if it does exist?
Archimedes L. Trajano _/_/_/ _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
cs932070@ariel.yorku.ca _/ _/ _/ _/ York University
_/_/_/ _/ _/ Department of Computer Science
_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/_/_/ _/ North York, Ontario, Canada
Technical Details
Message-ID:
<CIMAEu.9n1@ariel.cs.yorku.ca>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!torn!newshub.ccs.yorku.ca!newshub.ariel.cs.yorku.ca!cs932070Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,fb69ae5c3c6abf39,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-12-25 17:44:42 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!torn!newshub.ccs.yorku.ca!newshub.ariel.cs.yorku.ca!cs932070 From: cs932070@ariel.cs.yorku.ca (Archimedes L. Trajano) Subject: New GCC/2 user Message-ID: <CIMAEu.9n1@ariel.cs.yorku.ca> Sender: news@ariel.cs.yorku.ca Organization: /etc/organization Date: Sun, 26 Dec 1993 00:52:05 GMT Lines: 65