newbie help

Luca nodoubt at libero.it
Thu Jun 9 19:04:30 BST 2005


At 10.05 09/06/2005 +0100, Peter Naulls wrote:
>You still haven't said what doesn't work.  With bug reports, it's
>important to give us the exact errors you're seeing.  Going off and
>guessing about things like directory structures is unconstructive
>and will only result in you being confused.  Please tell us exactly what
>you see when trying the included GCC examples, after following precisely
>the steps in the quick start guide I referred to earlier.

Hi again.
Well, I try to explain the best I can.
I've installed TWO different GCC versions on TWO separate directories.
One is GCC 3.4.4 Rel 1 and the other is same version, Rel 2 (the last one).

I unzipped all the stuff as explained
And here is what I got in my folders:

*ex
Dir. ADFS::HardDisc4.$.Programs.GCC344r1 Option 02 (Run) 
CSD  ADFS::HardDisc4.$.Programs.GCC344r1
Lib. ADFS:"Unset"
URD  ADFS:"Unset"
!clib        D/      Directory 19:22:56 09-Jun-2005 2048  bytes
!gcc         D/      Directory 19:21:30 09-Jun-2005 2048  bytes
!unixlib     D/      Directory 19:23:05 09-Jun-2005 2048  bytes
*up
*dir gcc344r2
*ex
Dir. ADFS::HardDisc4.$.Programs.gcc344r2 Option 02 (Run) 
CSD  ADFS::HardDisc4.$.Programs.gcc344r2
Lib. ADFS:"Unset"
URD  ADFS:"Unset"
!Clib        D/      Directory 19:26:08 09-Jun-2005 2048  bytes
!gcc         D/      Directory 19:24:45 09-Jun-2005 2048  bytes
!UnixLib     D/      Directory 19:26:14 09-Jun-2005 2048  bytes


Inside each !GCC there's everything unzipped, but G77 which I don't care about for now.

Well, I gave a try to BOTH the compiler releases, and both are giving me troubles.
I really  don't care for Rel 1 troubles, since it must have been replaced by rel 2, but I still
include what's happening to make you understanding, and, hopefully, give me coupla hints to
get out of this trouble.

Compiling HELLOW and HELLOWORLD with GCC 3.4.4 Rel 1:
*ex
Dir. ADFS::HardDisc4.$.Programs.GCC344r1.!gcc.examples Option 02 (Run) 
CSD  ADFS::HardDisc4.$.Programs.GCC344r1.!gcc.examples
Lib. ADFS:"Unset"
URD  ADFS:"Unset"
c            D/      Directory 19:22:53 09-Jun-2005 2048  bytes
cc           D/      Directory 19:22:53 09-Jun-2005 2048  bytes
Examples     WR/R    Text      15:32:29 06-Jan-2004 2213  bytes
h            D/      Directory 19:22:53 09-Jun-2005 2048  bytes
m            D/      Directory 19:22:53 09-Jun-2005 2048  bytes
*gcc hellow.c
gcc: Internal error: RISC OS error (program cc1)
Please submit a full bug report.
See <URL:http://gccsdk.riscos.info/bugs> for instructions.
*gcc helloworld.cc
gcc: Internal error: RISC OS error (program cc1plus)
Please submit a full bug report.
See <URL:http://gccsdk.riscos.info/bugs> for instructions.
*

Internal error. What could it be the cause?
Anyway let's go to Rel 2 troubles...
Compiling HELLOW and HELLOWORLD with GCC 3.4.4 Rel 2:
*ex
Dir. ADFS::HardDisc4.$.Programs.GCC344r2.!gcc.examples Option 02 (Run) 
CSD  ADFS::HardDisc4.$.Programs.GCC344r2.!gcc.examples
Lib. ADFS:"Unset"
URD  ADFS:"Unset"
c            D/      Directory 19:26:04 09-Jun-2005 2048  bytes
cc           D/      Directory 19:26:04 09-Jun-2005 2048  bytes
Examples     WR/R    Text      15:32:29 06-Jan-2004 2213  bytes
h            D/      Directory 19:26:04 09-Jun-2005 2048  bytes
m            D/      Directory 19:26:05 09-Jun-2005 2048  bytes
*gcc hellow.c
File 'cc1' not found
*gcc helloworld.cc
File 'cc1plus' not found
*

As you see the GCC cannot find the CC1 and CC1PLUS files. They are inside there anyway:
*ex
Dir. ADFS::HardDisc4.$.Programs.GCC344r1.!gcc.bin.arm-riscos-a.3_4 Option 02 (Run) 
CSD  ADFS::HardDisc4.$.Programs.GCC344r1.!gcc.bin.arm-riscos-a.3_4
Lib. ADFS:"Unset"
URD  ADFS:"Unset"
apcs32       D/      Directory 19:21:43 09-Jun-2005 2048  bytes
as           WR/R    Absolute  13:13:05 25-Dec-2004  136 Kbytes
cc1          WR/R    Absolute  13:47:57 25-Dec-2004 3135 Kbytes
cc1plus      WR/R    Absolute  13:47:58 25-Dec-2004 3635 Kbytes
cpp          WR/R    Absolute  13:47:54 25-Dec-2004  210 Kbytes
ld           WR/R    Absolute  13:13:15 25-Dec-2004  177 Kbytes
*

Ofcourse before running the compiler tests, I double clicked on !GCC (and !CLib and !UnixLib), and set the
wimpslot to a good amount of memory (10 Megs).
The machine is a RiscPC StrongArm 233, with RISCOS 4.39.

If you can help me out, I'd be grateful. 
Just to don't force you with a "newbie language" to explain me what to do, I tell I am an expert
programmer, I deeply know C and C++ (among the other languages) but, I am new to RiscOS (I come from
Dos/Windows world). 

Thanx again in advance.

Luca



"(they) know the difference
 between right and wrong.
 They just don't give a damn." (Natural Born Killers)

937, '87 Alfa 75 Turbo, '90 Alfa 75 1.8ie, '75 Benelli 500 Quattro, RM250
Myself: http://www.lp666.net/
Finnish Mythology: http://www.finnishmyth.org






More information about the gcc mailing list