Mail Archives: cygwin/1998/04/28/23:24:29
At 06:12 AM 4/28/98 -0700, Earnie Boyd wrote:
>gcc -o loopy.exe main.o profile.o -lc
If you include the "-lc" you get:
I:\Cygnus\B19\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\2.7-B19\../../../../
i386
-cygwin32\lib/libcygwin.a(libccrt0.o)(.data+0x0):libccrt0.cc: multiple
definitio
n of `_impure_ptr'
I:\Cygnus\B19\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\2.7-B19\../../../../
i386
-cygwin32\lib/libc.a(impure.o)(.data+0x2ec):impure.c: first defined here
If you leave off the "-lc" it compiles. However, (and this is the important
point) the program *still* crashes before reaching main() when you run it
under gdb. If you don't run it under gdb it works fine.
Gilbert W. Pilz Jr.
Systems Software Consultant
gwpilz AT pobox DOT com
www.scruz.net/~gwpilz/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -