On Thu, Apr 30, 2009 at 04:44:32PM +0200, Amin Kharchi wrote: > I'm new to GCC on RISC OS and I currently try this great port. > > But I have some questions. > > 1. I can build the examples file from GCC.Examples.C++ directory. > This command works: > *g++ helloworld.cc > > But it builds an a/out file and it's filetype is &E1F that is unknown to > my system. Must I change it to &FF8? If I do this, I try start it and > get an error dialogue that something gone wrong.
This is because the compiler is producing an ELF executable. As we aren't able to run these directly at the moment, there's a program elf2aif that'll convert it to an AIF &FF8 absolute file which you can run. Would someone who knows about the ELF stuff (both native and in crosscompiler) mind writing a page for the wiki giving a top-level overview of what's involved for ELF on RISC OS? GCC 4 has been out for a while and frankly I still don't have much of a clue what the issues are. (And I read everything on this list and the wiki, though I haven't done any coding for a while) Theo _______________________________________________ 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
