[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [openrisc] GCC problem



Shawn,

I suspect you have some sort of host problem.
Which system are you using?
Also maybe you should try or32-uclinux target;
as shown on or1k/uclinux homepage.

Marko

----- Original Message -----
From: "Shawn Tan" <shawn.tan@aeste.net>
To: <openrisc@opencores.org>
Sent: Tuesday, May 28, 2002 8:13 AM
Subject: [openrisc] GCC problem


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dear ppl,
>
> I've been having difficulties compiling the or1k-gcc compiler.. the
> assembler is fine.. but I can't get the gcc to compile.. here's the
error..
>
> - --- >8 ---
> gcc -DCROSS_COMPILE -DIN_GCC     -g -O2  -DHAVE_CONFIG_H    -I. -I.
> - -I./config -I./../include \
> ~  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/or32-rtems/2.95.2/include\"
\
>
> -
> -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/or32-rtems/2.95.2/../../.
./..`echo
> /usr/local | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-3\"
\
> ~  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
>
> -
> -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/or32-rtems/2.95.2/../../../..
/or32-rtems/sys-include\"
> \
>
> -
> -DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/or32-rtems/2.95.2/../../../../
or32-rtems/include\"
> \
> ~  -c `echo ./cccp.c | sed 's,^\./,,'`
> cccp.c:106: parse error before `parse_escape'
> cccp.c:106: parse error before `HOST_WIDEST_INT'
> cccp.c:106: warning: data definition has no type or storage class
> cccp.c:107: parse error before `parse_c_expression'
> cccp.c:107: warning: data definition has no type or storage class
> cccp.c:204: parse error before `*'
> cccp.c:204: warning: data definition has no type or storage class
> cccp.c:368: field `st' has incomplete type
> cccp.c:373: confused by earlier errors, bailing out
> make[1]: *** [cccp.o] Error 1
> make[1]: Leaving directory `/opt/or1k/gcc/gcc'
> make: *** [all-gcc] Error 2
>
> - --- >8 ---
> /
> what;s the problem?? I checked for /usr/local/lib/gcc-lib/or32-rtems..
> it's empty.. and for /usr/local/or32-rtems.. it only has the bin/ and
> lib/ paths.. there's no include.. so, what can I do to fix this? any
help??
>
> For the previous problem I had with the core, it's solved.. the problem
> was with the memory controller core.. I'll be checking it out later..
> see if I can solve it.. The hardware is working now.. what I need now is
> software.. I'm only programming in assembly now ):.. using
> or32-rtems-as.. (: I'd really like to get the gcc working.. (:
>
> with metta,
> Shawn Tan.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE88x/y9KUEj/m6O5oRAnEYAJ4qKLseFwI0Jz1AbSdiZ2q16FfnYwCeL4iI
> hjZUmXPbWZshPQrO1lrSEUI=
> =BIIh
> -----END PGP SIGNATURE-----
>
> --
> To unsubscribe from openrisc mailing list please visit
http://www.opencores.org/mailinglists.shtml
>
>


--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml