This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: help: gcc 2.8.1 error


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



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