Hi Again,
I had used the gcc -core-3.2 tree previous, so downloaded the
gcc-core-3.2.3 tree and tried compiling
again. No luck. Have attached all the error messages below. Is this
still a system header problem and if it is,
is it a target header or the host compiler header? Any other
suggestions? I will try downloading the full
gcc-3.2.3 and try again in the meantime.
Can you also confirm that I am copying correctly the msp430 specific
code into the tree?
I am using: cp -r gcc/gcc-3.3/gcc/* gcc-3.2.3/gcc/
Cheers,
Bernie
-------------------------------------- error messages
---------------------------------------------------------------
In file included from c-common.c:4163:
builtin-attrs.def:2:3: warning: style of line directive is a GCC
extension
In file included from c-common.c:4163:
builtin-attrs.def:94: parse error before "_0"
builtin-attrs.def:95: redefinition of `ATTR_PRINTF_1'
builtin-attrs.def:94: `ATTR_PRINTF_1' previously defined here
builtin-attrs.def:95: redefinition of `ATTR_FORMAT_PRINTF_1'
builtin-attrs.def:94: `ATTR_FORMAT_PRINTF_1' previously defined here
builtin-attrs.def:97: redefinition of `ATTR_PRINTF_2'
builtin-attrs.def:96: `ATTR_PRINTF_2' previously defined here
builtin-attrs.def:97: redefinition of `ATTR_FORMAT_PRINTF_2'
builtin-attrs.def:96: `ATTR_FORMAT_PRINTF_2' previously defined here
builtin-attrs.def:99: redefinition of `ATTR_PRINTF_3'
builtin-attrs.def:98: `ATTR_PRINTF_3' previously defined here
builtin-attrs.def:99: redefinition of `ATTR_FORMAT_PRINTF_3'
builtin-attrs.def:98: `ATTR_FORMAT_PRINTF_3' previously defined here
builtin-attrs.def:101: redefinition of `ATTR_SCANF_1'
builtin-attrs.def:100: `ATTR_SCANF_1' previously defined here
builtin-attrs.def:101: redefinition of `ATTR_FORMAT_SCANF_1'
builtin-attrs.def:100: `ATTR_FORMAT_SCANF_1' previously defined here
builtin-attrs.def:103: redefinition of `ATTR_SCANF_2'
builtin-attrs.def:102: `ATTR_SCANF_2' previously defined here
builtin-attrs.def:103: redefinition of `ATTR_FORMAT_SCANF_2'
builtin-attrs.def:102: `ATTR_FORMAT_SCANF_2' previously defined here
builtin-attrs.def:170:3: warning: style of line directive is a GCC
extension
c-common.c:4278:3: warning: style of line directive is a GCC extension
In file included from c-common.c:4278:
builtin-attrs.def:2:3: warning: style of line directive is a GCC
extension
In file included from c-common.c:4278:
builtin-attrs.def: In function `c_init_attributes':
builtin-attrs.def:94: parse error before "_0"
builtin-attrs.def:94: parse error before "_0"
builtin-attrs.def:95: parse error before "_2"
builtin-attrs.def:95: parse error before "_2"
builtin-attrs.def:96: parse error before "_0"
builtin-attrs.def:96: parse error before "_0"
builtin-attrs.def:97: parse error before "_3"
builtin-attrs.def:97: parse error before "_3"
builtin-attrs.def:98: parse error before "_0"
builtin-attrs.def:98: parse error before "_0"
builtin-attrs.def:99: parse error before "_4"
builtin-attrs.def:99: parse error before "_4"
builtin-attrs.def:100: parse error before "_0"
builtin-attrs.def:100: parse error before "_0"
builtin-attrs.def:101: parse error before "_2"
builtin-attrs.def:101: parse error before "_2"
builtin-attrs.def:102: parse error before "_0"
builtin-attrs.def:102: parse error before "_0"
builtin-attrs.def:103: parse error before "_3"
builtin-attrs.def:103: parse error before "_3"
builtin-attrs.def:104: parse error before "_0"
builtin-attrs.def:104: parse error before "_0"
builtin-attrs.def:105: parse error before "_4"
builtin-attrs.def:105: parse error before "_4"
builtin-attrs.def:170:3: warning: style of line directive is a GCC
extension
c-common.c:4307:3: warning: style of line directive is a GCC extension
In file included from c-common.c:4307:
builtin-attrs.def:2:3: warning: style of line directive is a GCC
extension
In file included from c-common.c:4307:
builtin-attrs.def: In function `c_common_insert_default_attributes':
builtin-attrs.def:126: `ATTR_FORMAT_PRINTF_1_2' undeclared (first use
in this function)
builtin-attrs.def:126: (Each undeclared identifier is reported only once
builtin-attrs.def:126: for each function it appears in.)
builtin-attrs.def:127: `ATTR_FORMAT_PRINTF_2_3' undeclared (first use
in this function)
builtin-attrs.def:136: `ATTR_FORMAT_SCANF_1_2' undeclared (first use in
this function)
builtin-attrs.def:137: `ATTR_FORMAT_SCANF_2_3' undeclared (first use in
this function)
builtin-attrs.def:139: `ATTR_FORMAT_PRINTF_1_0' undeclared (first use
in this function)
builtin-attrs.def:140: `ATTR_FORMAT_PRINTF_2_0' undeclared (first use
in this function)
builtin-attrs.def:142: `ATTR_FORMAT_STRFTIME_3_0' undeclared (first use
in this function)
builtin-attrs.def:150: `ATTR_FORMAT_PRINTF_3_4' undeclared (first use
in this function)
builtin-attrs.def:151: `ATTR_FORMAT_PRINTF_3_0' undeclared (first use
in this function)
builtin-attrs.def:152: `ATTR_FORMAT_SCANF_1_0' undeclared (first use in
this function)
builtin-attrs.def:153: `ATTR_FORMAT_SCANF_2_0' undeclared (first use in
this function)
builtin-attrs.def:166: `ATTR_FORMAT_STRFMON_3_4' undeclared (first use
in this function)
builtin-attrs.def:170:3: warning: style of line directive is a GCC
extension
make[1]: *** [c-common.o] Error 1
make: *** [all-gcc] Error 2
On Saturday, May 24, 2003, at 06:03 AM, Dmitry wrote:
well...
starnge.
gcc-x.x has to have it.
Check check gcc tar archive again.
If you still do not have it --- get gcc-3.2 (full version. not
gcc-core)
and check again.
~d
On Thursday 22 May 2003 08:43, Bernard Mentink wrote:
Hi Dimitry,
I don't seem to have symcat.h anywhere on my system. Do I need some
extra dev headers?
The only include dir on OS X is /usr/include ......but I did no a
"find" on the whole drive.
When I was running OS X 10.1.5 with gcc3.0, I could compile the gcc3.0
base after patching with the msp430
stuff fine. Everything worked great. Just cannot seem to do the same
with OS X 10.2
Seems strange that I am only having an issue with gcc 3.1, the
binutils
compiled fine.
Cheers,
Bernie
On Tuesday, May 20, 2003, at 09:57 PM, Dmitry wrote:
Bernie,
Well, not sure. gcc3.0 uses less features than 3.1,3.2, etc...
So, this might be some 'CONCAT' macro bug.
Check include/symcat.h if 'CONCATX' macros have been defined.
~d
On Tuesday 20 May 2003 02:59, [email protected] wrote:
Hi Dmitry,
I am using Darwin (Apple OS X), it has worked ok in the past with
gcc3.0.
OS X 10.2 uses gcc3.1, is that the issue?
Cheers,
Bernie
Quoting Dmitry <[email protected]>:
looks like system headers error.
which OS are you trying to build gcc under?
~d
On Sunday 18 May 2003 05:16, Bernard Mentink wrote:
builtin-attrs.def
--
/
*******************************************************************
*
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
*******************************************************************
*/
-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is
painful,
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/ lists/listinfo/mspgcc-users
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software.
http://www.objectstore.net/sourceforge
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
--
/********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
********************************************************************/
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
--
/********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
********************************************************************/
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users