This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FW: Gcc-3.0.4 make fails


Sorry Kai, meant to send this to the list!

------ Forwarded Message
From: James Fitzsimons <jamesfit@paradise.net.nz>
Date: Fri, 22 Mar 2002 07:59:13 +1200
To: Kai Ruottu <kai.ruottu@luukku.com>
Subject: Re: Gcc-3.0.4 make fails

Hi Kai,
Thanks for your suggestion!

> Yes, if you don't need a Fortran-77 compiler for the m68k target, don't try
> to build it or even wonder why you cannot build it... Simply forget the whole
> idea and leave this problem to others... This could be called as "The lazy-man
> attitude" and sometimes it is very useful...

I only require C and C++ so have NO problem with this ;-)
 
> Just use a 'make LANGUAGES="c c++ objc proto gcov" or something, telling what
> you will really need from the 'GCC' ('GNU Compiler Collection'). Otherwise you
> may still struggle with building 'Java', 'Chill' etc., although you wouldn't
> need them either...

I have just tried building with the following configure command:

bash2.05 james@localhost ~/projects/source/build-gcc %
../gcc-3.0.4/configure --enable-languages=c,c++ --target=$target
--prefix=$prefix -v

And when I tried a 'make all install' it bombed again. All the errors seem
to be in a file called builtin-attrs.def. I have no idea if this is
something that can be fixed easily... The last few lines of the make out put
are below (there were more errors to do with builtin-attrs.def higher up in
the log as well).

Any suggestions anyone??
Thanks so much for any help with this,
Kind regards,
James Fitzsimons 

../../gcc-3.0.4/gcc/builtin-attrs.def:126: (Each undeclared identifier is
reported only once
../../gcc-3.0.4/gcc/builtin-attrs.def:126: for each function it appears in.)
../../gcc-3.0.4/gcc/builtin-attrs.def:127: `ATTR_FORMAT_PRINTF_2_3'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:136: `ATTR_FORMAT_SCANF_1_2'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:137: `ATTR_FORMAT_SCANF_2_3'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:139: `ATTR_FORMAT_PRINTF_1_0'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:140: `ATTR_FORMAT_PRINTF_2_0'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:142: `ATTR_FORMAT_STRFTIME_3_0'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:150: `ATTR_FORMAT_PRINTF_3_4'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:151: `ATTR_FORMAT_PRINTF_3_0'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:152: `ATTR_FORMAT_SCANF_1_0'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:153: `ATTR_FORMAT_SCANF_2_0'
undeclared (first use in this function)
../../gcc-3.0.4/gcc/builtin-attrs.def:166: `ATTR_FORMAT_STRFMON_3_4'
undeclared (first use in this function)
make[1]: *** [c-common.o] Error 1
make: *** [all-gcc] Error 2
bash2.05 james@localhost ~/projects/source/build-gcc %

------ End of Forwarded Message


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]