Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support to MinGW (with bash ./build.sh) #272

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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