Error: Processing of port gcc10 failed

sudo port install gcc10

when i run the command
I am getting this error with macbook air with m1 processor.

Dear @ysngyln ,

for M1 processor, you need to install gcc11
Please refer to compiler compatibility here

Let us know in case you still need further help.

Best regards

I could not find the platform where I can download gfortran11 for arm processor.

Dear @ysngyln ,

you should run this command

sudo port install gcc11