[csw-maintainers] SOS12 on build9s

Maciej (Matchek) Blizinski maciej at opencsw.org
Sat Dec 5 17:11:32 CET 2009


On Fri, Dec 4, 2009 at 7:40 PM, Philip Brown <phil at bolthole.com> wrote:
> you've proved there is a binary. you havent proved it works. show that
> it works first ;-)
>
> start with "cc -V"
>
> and then move on to
>
> cat >test.c <<EOF
> main(){}
> EOF
> cc -o t test.c

maciej at build9s :~ > /opt/studio/SOS12/SUNWspro/prod/bin/cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-11 2009/04/30
usage: cc [ options] files.  Use 'cc -flags' for details
maciej at build9s :~ > cat >test.c <<EOF
continued> main(){}
continued> EOF
maciej at build9s :~ > /opt/studio/SOS12/SUNWspro/prod/bin/cc -o t test.c
"test.c", line 1: warning: old-style declaration or incorrect type for: main
maciej at build9s :~ > echo $?
0

The binary works.  Any ideas what else might have gone wrong?



More information about the maintainers mailing list