Skip to content

Conversation

lsaavedr
Copy link

@lsaavedr lsaavedr commented Dec 6, 2018

With this changes you can build all proyects in MinGW (with bash from git-scm).

You need add ~/.bashrc file:

  • in 64bit:
export PATH=$PATH:${GPRS_CSDTK42_PATH}/make64:${GPRS_CSDTK42_PATH}/mingw32/bin:${GPRS_CSDTK42_PATH}/cooltools:${GPRS_CSDTK42_PATH}/python27
export PATH=$PATH:${GPRS_CSDTK42_PATH}/mips-elf-4.4.2/bin:${GPRS_CSDTK42_PATH}/mips-rda-elf-7.1.0/bin:${GPRS_CSDTK42_PATH}/rv32-elf-5.4.1/bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GPRS_CSDTK42_PATH}/cooltools/lib:${GPRS_CSDTK42_PATH}/mingw32/lib
  • in 32bit (not tested):
export PATH=$PATH:${GPRS_CSDTK42_PATH}/make:${GPRS_CSDTK42_PATH}/mingw32/bin:${GPRS_CSDTK42_PATH}/cooltools:${GPRS_CSDTK42_PATH}/python27
export PATH=$PATH:${GPRS_CSDTK42_PATH}/mips-elf-4.4.2/bin:${GPRS_CSDTK42_PATH}/mips-rda-elf-7.1.0/bin:${GPRS_CSDTK42_PATH}/rv32-elf-5.4.1/bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GPRS_CSDTK42_PATH}/cooltools/lib:${GPRS_CSDTK42_PATH}/mingw32/lib

This ~/.bashrc file can be modifie or created in future versions of setup.sh from CSDK42 (for windows).

Then you can execute for example (in bash of git-scm):

$ ./build.sh demo gpio

I think that maintain only build.sh is simpler that maintain build.bat and build.sh...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant