Re: problem with compile
Andrey Chernomyrdin wrote:
> Have a nice day,
>
> I have a problem with compile nginx web server on SunBlade-100
>
> $ gcc -c -Wall -g -O2 -I src/core -I src/event -I src/event/modules -I
> src/os/unix -I objs \
> -o objs/src/core/ngx_times.o \
> src/core/ngx_times.c
> /home/andrey/tmp/ccjb1kos.s: Assembler messages:
> /home/andrey/tmp/ccjb1kos.s:377: Error: Architecture mismatch on "casa".
> /home/andrey/tmp/ccjb1kos.s:377: (Requires v9|v9a|v9b; requested
> architecture is sparclite.)
> /home/andrey/tmp/ccjb1kos.s:585: Error: Architecture mismatch on "membar".
> /home/andrey/tmp/ccjb1kos.s:585: (Requires v9|v9a|v9b; requested
> architecture is sparclite.)
>
Hi,
I'm not a programmer, but I think you can try this:
gcc -c -Wall -g -O2 -I src/core -I src/event -I src/event/modules -I
src/os/unix -I objs -S -o objs/src/core/ngx_times.s
src/core/ngx_times.c
as -Av9 -64 -o objs/src/core/ngx_times.o objs/src/core/ngx_times.s
Regards,
Attila
Reply to: