This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: help: gcc 2.8.1 error
- To: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: help: gcc 2.8.1 error
- From: james <zhz at public1 dot sta dot net dot cn>
- Date: Thu, 21 Oct 1999 15:11:57 +0800
- Cc: gcc at gcc dot gnu dot org
Hi Martin,
At 10:41 99-10-18 +0200, Martin v. Loewis wrote:
>> it the first time I work with the GCC, when I compiled on
>> my Linux host (redhat 6.0) for a target i960 board, I got the msg:
>>
>> cc1plus: Invalid option `func-align=4'
>> cc1plus: Invalid option `rodata-section=.rodata'
>
>My suggestion would be to remove these options from the makefile, and
>see what kind of alignment and section names gcc produces. If the
>results are not satisfying, feel free to ask again how to achieve them.
>
>Hope this helps,
>Martin
thank you very much for your kindness! :)
I got another error msg:
../br.c:1862: section attributes are not supported for this target
../br.c:1886: section attributes are not supported for this target
make[1]: *** [br.o] Error 1
make: *** [mhpt1] Error 2
my target is i960-coff, from GCC manual, COFF does support multi section
for OBJ file, but what does this mean ? how to solve the problem ?
thanks in advance.
regards/james