On Fri, Dec 4, 2009 at 7:40 PM, Philip Brown <[email protected]> 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
mac...@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
mac...@build9s :~ > cat >test.c <<EOF
continued> main(){}
continued> EOF
mac...@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
mac...@build9s :~ > echo $?
0
The binary works. Any ideas what else might have gone wrong?
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers