Re: Problem compiling simple Ada program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This compiles fine, but when I try to link the hello.o file, I get this 
> error:
> hello.o:hello.adb:(.text+0x18): undefined reference to 
> '_ada__text_io__put_line__2'
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libvmain.o):: 
> undefined reference to '_WinMain@16'
> collect2: ld returned 1 exit status

Are you linking using gnatlink?

Ciao,

Duncan.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux