Has anyone managed to get gcc working on RISC OS yet? I'm trying, but not having much luck... I downloaded GCC4 and GCC4-C++ from http://www.riscos.info/packages/Develop ... .html#gcc4, unzipped them into Apps.Development, and installed the Sharedlibs from !PackMan. I can run gcc -v to report a version number, but not actually get anything to compile:
Code: Select all
*gcc -v
Using built-in specs.
Target: arm-unknown-riscos
Configured with: /home/joty/projects/gccsdk/gccsdk_svn1/gcc4/srcdir/gcc/configure --host=arm-unknown-riscos --target=arm-unknown-riscos --prefix=/home/joty/projects/gccsdk/gccsdk_svn1/gcc4/release-area/full/!GCC --enable-threads=posix --enable-sjlj-exceptions=no --enable-c99 --enable-cmath --enable-multilib --enable-shared=libunixlib,libgcc,libstdc++ --disable-c-mbchar --disable-wchar_t --disable-libstdcxx-pch --disable-tls --with-cross-host --with-pkgversion=GCCSDK GCC 4.1.2 Release 1 Development --with-bugurl=http://gccsdk.riscos.info/ --enable-maintainer-mode --enable-interwork --disable-nls --enable-checking=no --enable-languages=c,c++
Thread model: posix
gcc version 4.1.2 (GCCSDK GCC 4.1.2 Release 2)
*gcc helloworld
helloworld: file not recognized: File format not recognized
collect2: ld returned 1 exit status
*list helloworld
1 /* c.hellow.
2
3 The simple Hello World application. */
4
5 #include <stdio.h>
6
7 int main (void)
8 {
9 printf ("Hello World\n");
10 return 0;
11 }
*
Ta,