comp.lang.ada
 help / color / mirror / Atom feed
* Ada.Calendar not a predefined library unit
@ 2005-01-13 15:01 rahbert
  2005-01-13 16:45 ` Martin Krischik
  0 siblings, 1 reply; 6+ messages in thread
From: rahbert @ 2005-01-13 15:01 UTC (permalink / raw)


I'm building Ada from the GCC 3.4.3 sources under mingw using the
3.4.2 binaries. The problem occurs during the step where the
gnatlib is built. I don't see any available patch for this.
Has anyone built this successfully?

../../xgcc -B../../ -c -g -O2       -W -Wall -gnatpg  a-calend.adb -o
a-calend.o
a-calend.adb:41:17: "Ada.Calendar" is not a predefined library unit
make[5]: *** [a-calend.o] Error 1
make[5]: Leaving directory `/home/robert/gcc-obj/gcc/ada/rts'
make[4]: *** [gnatlib] Error 2
make[4]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
make[3]: *** [gnatlib-shared-win32] Error 2
make[3]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
make[2]: *** [gnatlib-shared] Error 2
make[2]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
make[1]: *** [gnatlib-shared] Error 2
make[1]: Leaving directory `/home/robert/gcc-obj/mingw32/libada'
make: *** [all-target-libada] Error 2




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ada.Calendar not a predefined library unit
  2005-01-13 15:01 Ada.Calendar not a predefined library unit rahbert
@ 2005-01-13 16:45 ` Martin Krischik
  2005-01-13 19:28   ` Martin Dowie
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Krischik @ 2005-01-13 16:45 UTC (permalink / raw)


rahbert wrote:

> I'm building Ada from the GCC 3.4.3 sources under mingw using the
> 3.4.2 binaries. The problem occurs during the step where the
> gnatlib is built. I don't see any available patch for this.
> Has anyone built this successfully?
> 
> ../../xgcc -B../../ -c -g -O2       -W -Wall -gnatpg  a-calend.adb -o
> a-calend.o
> a-calend.adb:41:17: "Ada.Calendar" is not a predefined library unit
> make[5]: *** [a-calend.o] Error 1
> make[5]: Leaving directory `/home/robert/gcc-obj/gcc/ada/rts'
> make[4]: *** [gnatlib] Error 2
> make[4]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
> make[3]: *** [gnatlib-shared-win32] Error 2
> make[3]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
> make[2]: *** [gnatlib-shared] Error 2
> make[2]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
> make[1]: *** [gnatlib-shared] Error 2
> make[1]: Leaving directory `/home/robert/gcc-obj/mingw32/libada'
> make: *** [all-target-libada] Error 2

Well, I did manage the Linux compile OK. So it's a mingw only problem

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ada.Calendar not a predefined library unit
  2005-01-13 16:45 ` Martin Krischik
@ 2005-01-13 19:28   ` Martin Dowie
  2005-01-13 19:54     ` rahbert
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Dowie @ 2005-01-13 19:28 UTC (permalink / raw)


Martin Krischik wrote:
> rahbert wrote:
> 
> 
>>I'm building Ada from the GCC 3.4.3 sources under mingw using the
>>3.4.2 binaries. The problem occurs during the step where the
>>gnatlib is built. I don't see any available patch for this.
>>Has anyone built this successfully?
>>
>>../../xgcc -B../../ -c -g -O2       -W -Wall -gnatpg  a-calend.adb -o
>>a-calend.o
>>a-calend.adb:41:17: "Ada.Calendar" is not a predefined library unit
>>make[5]: *** [a-calend.o] Error 1
>>make[5]: Leaving directory `/home/robert/gcc-obj/gcc/ada/rts'
>>make[4]: *** [gnatlib] Error 2
>>make[4]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
>>make[3]: *** [gnatlib-shared-win32] Error 2
>>make[3]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
>>make[2]: *** [gnatlib-shared] Error 2
>>make[2]: Leaving directory `/home/robert/gcc-obj/gcc/ada'
>>make[1]: *** [gnatlib-shared] Error 2
>>make[1]: Leaving directory `/home/robert/gcc-obj/mingw32/libada'
>>make: *** [all-target-libada] Error 2

doesn't this need a "-a" option or something?..



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ada.Calendar not a predefined library unit
  2005-01-13 19:28   ` Martin Dowie
@ 2005-01-13 19:54     ` rahbert
  2005-01-14 10:24       ` Martin Dowie
  0 siblings, 1 reply; 6+ messages in thread
From: rahbert @ 2005-01-13 19:54 UTC (permalink / raw)


gnat1.exe doesn't take -a

../../xgcc -B../../ -c -g -O2 -a      -W -Wall -gnatpg  a-calend.adb -o
gnat1.exe: error: unrecognized command line option "-a"




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ada.Calendar not a predefined library unit
  2005-01-13 19:54     ` rahbert
@ 2005-01-14 10:24       ` Martin Dowie
  2005-01-17 18:12         ` rahbert
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Dowie @ 2005-01-14 10:24 UTC (permalink / raw)


rahbert wrote:
> gnat1.exe doesn't take -a
>
> ../../xgcc -B../../ -c -g -O2 -a      -W -Wall -gnatpg  a-calend.adb
> -o gnat1.exe: error: unrecognized command line option "-a"

gnat1.exe doesn't but what about 'gnatmake'?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ada.Calendar not a predefined library unit
  2005-01-14 10:24       ` Martin Dowie
@ 2005-01-17 18:12         ` rahbert
  0 siblings, 0 replies; 6+ messages in thread
From: rahbert @ 2005-01-17 18:12 UTC (permalink / raw)


I redefined GNATMAKE in Makefile.in to point to "gnatmake -a", no joy.

Surely someone else has seen this..

Martin Dowie wrote:
> rahbert wrote:
> > gnat1.exe doesn't take -a
> >
> > ../../xgcc -B../../ -c -g -O2 -a      -W -Wall -gnatpg
a-calend.adb
> > -o gnat1.exe: error: unrecognized command line option "-a"
> 
> gnat1.exe doesn't but what about 'gnatmake'?




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-01-17 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-13 15:01 Ada.Calendar not a predefined library unit rahbert
2005-01-13 16:45 ` Martin Krischik
2005-01-13 19:28   ` Martin Dowie
2005-01-13 19:54     ` rahbert
2005-01-14 10:24       ` Martin Dowie
2005-01-17 18:12         ` rahbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox