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

Re: [openrisc] GCC problem



Hi Shawn,

if you look at or1k/ATS homepage you will see that gcc builds fine on
Slackware 3.6 system (yes, the server is not updated everyday with new
version ;-). ATS checks out or1k toolchain every night and tries to compile
it. Unfortunately GDB and or1ksim do not build fine on this slackware
system, although they build just fine on all recent RedHat 7 systems (I
think they should also build fine on RH 6.2). Maybe someone can tell if they
build fine on Debian and on other Unix systems (Solaris, HPUX etc..).

BTW we are testing or1200 bases SOC also with another memory controller (not
available on OC at this time yet).

regards,
Damjan


----- 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