OK3568 4.19.206 Adding Fortran Compilers

Document classification: □ Top secret □ Secret □ Internal information ■ Open

Adding Fortran Compilers

I. Buildroot Configuration

  1. Open the graphical configuration interface by going to/3568/OK3568-linux-source/buildroot/output/OK3568;

  2. After entering the graphical configuration interface, enter/search fortran and press 1 on the keyboard.

ImageImage

  1. Press Y to select the enable fortran support and save it.

  2. Go back to the/3568/OK3568-linux-source path to compile the file system. Select n when compiling.

Go after compiling.

/home/forlinx/3568/OK3568-linux-source/buildroot/output/OK3568/host/bin

Check for aarch64-linux-gfortran under the path.

II. Possible Problems

The aarch64-linux-gfortran is not generated.

/home/forlinx/3568/OK3568-linux-source/buildroot/output/OK3568/build

Delete host-gcc-final-9.3.0 in the path.

Image

Recompile buildroot.

The final generated compiler is:

aarch64-linux-gfortran