Ticket #10905: example.txt

File example.txt, 2.2 KB (added by dave@…, 17 years ago)

An example c program and "gcc -v" output.

Line 
1Script started on Wed Jan 17 18:43:28 2007
2dhcp180:~/macports dave$ cat test.c
3/* confdefs.h.  */
4#define PACKAGE_NAME "libsndfile"
5#define PACKAGE_TARNAME "libsndfile"
6#define PACKAGE_VERSION "1.0.17"
7#define PACKAGE_STRING "libsndfile 1.0.17"
8#define PACKAGE_BUGREPORT "erikd@mega-nerd.com"
9#define PACKAGE "libsndfile"
10#define VERSION "1.0.17"
11/* end confdefs.h.  */
12
13#include <stdio.h>
14#if HAVE_SYS_TYPES_H
15# include <sys/types.h>
16#endif
17#if HAVE_SYS_STAT_H
18# include <sys/stat.h>
19#endif
20#if STDC_HEADERS
21# include <stdlib.h>
22# include <stddef.h>
23#else
24# if HAVE_STDLIB_H
25#  include <stdlib.h>
26# endif
27#endif
28#if HAVE_STRING_H
29# if !STDC_HEADERS && HAVE_MEMORY_H
30#  include <memory.h>
31# endif
32# include <string.h>
33#endif
34#if HAVE_STRINGS_H
35# include <strings.h>
36#endif
37#if HAVE_INTTYPES_H
38# include <inttypes.h>
39#endif
40#if HAVE_STDINT_H
41# include <stdint.h>
42#endif
43#if HAVE_UNISTD_H
44# include <unistd.h>
45#endif
46
47#include "FLAC/all.h"
48
49int main()
50{
51}
52dhcp180:~/macports dave$ gcc -v test.c
53Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
54Thread model: posix
55gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)
56 /usr/libexec/gcc/darwin/ppc/3.3/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D__APPLE_CC__=1671 -D__DYNAMIC__ test.c -fPIC -quiet -dumpbase test.c -auxbase test -version -o /var/tmp//ccozB4Dh.s
57GNU C version 3.3 20030304 (Apple Computer, Inc. build 1671) (ppc-darwin)
58        compiled by GNU C version 3.3 20030304 (Apple Computer, Inc. build 1671).
59GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=131072
60ignoring nonexistent directory "/usr/ppc-darwin/include"
61ignoring nonexistent directory "/Local/Library/Frameworks"
62#include "..." search starts here:
63#include <...> search starts here:
64 /usr/local/include
65 /usr/include/gcc/darwin/3.3
66 /usr/include
67End of search list.
68Framework search starts here:
69 /System/Library/Frameworks
70 /Library/Frameworks
71End of framework search list.
72 /usr/libexec/gcc/darwin/ppc/as -arch ppc -o /var/tmp//ccJlLCDn.o /var/tmp//ccozB4Dh.s
73 ld -arch ppc -dynamic -o a.out -lcrt1.o -lcrt2.o -L/usr/lib/gcc/darwin/3.3 -L/usr/lib/gcc/darwin -L/usr/libexec/gcc/darwin/ppc/3.3/../../.. /var/tmp//ccJlLCDn.o -lgcc -lSystem |
74 c++filt
75dhcp180:~/macports dave$ exit
76
77Script done on Wed Jan 17 18:43:41 2007