John Tytgat wrote:
> *gcc -v -c hello.adb 
> Using built-in specs.
> Target: arm-unknown-riscos
> Configured with: /home/joty/projects/gccsdk/gccsdk_svn/gcc4/srcdir/configure 
> riscos
> Thread model: posix
> gcc version 4.1.1 (GCCSDK GCC 4.1.1 pre-release 2)
>  
> /ADFS::Zion.$/GCCSDK-Ada/!GCC/bin/../libexec/gcc/arm-unknown-riscos/4.1.1/gnat1
>  -quiet -dumpbase hello.adb hello.adb -o /tmp/cc7gyCIa.s
> fatal error, run-time library not installed correctly
> cannot locate file system.ads

The file system.ads should be present inside
!GCC/lib/gcc/arm-unknown-riscos/4.1.1/<runtime>/adainclude/ where
<runtime> should be the name of the runtime version. GNU/Linux and
Windows offer rts-native (with zero-cost exception handling) and
rts-sjlj (with setjump-longjump exception handling). I do not know
that's possible on RISC OS in this respect. When configuring the GCC
one can specify which runtime to build.

Please note: I have never built a GNAT for RISC OS, only for Solaris,
GNU/Linux and a MinGW cross-compiler hosted on GNU/Linux, so I do not
know about RISC OS specific things.

-- 
Stefan Bellon

_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to