[pups] 2.11 BSD compilation fails
Richard Donkin
rdonkin at bigfoot.com
Wed Jan 31 09:33:02 AEST 2001
Mark Green wrote:
>
> >
> > While tinkering with the date2.c program posted earlier by Alex
> > Chupakhin, which now runs on 2.11 BSD btw, I discovered the following:
> >
> > - 'cc -o date2 date2.c' works fine, producing a 12K binary
> >
> > - a makefile containing this command fails - the compilation starts but
> > fails silently, producing a 2K binary that is not marked executable.
> > The makefile is:
> >
> > date2: date2.c
> > cc -o date2 -c date2.c
> Remove the -c flag, it tells the compiler to only compile the program
> and not produce an executable.
Ooops... I must have been up too late when I came up with that one.
Thanks
Richard
Received: (from major at localhost)
by minnie.cs.adfa.edu.au (8.9.3/8.9.3) id MAA26019
for pups-liszt; Wed, 31 Jan 2001 12:46:59 +1100 (EST)
(envelope-from owner-pups at minnie.cs.adfa.edu.au)
More information about the TUHS
mailing list