| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| getting_started:finish [2025/08/30 15:03] – asie | getting_started:finish [2025/11/26 22:17] (current) – [Configuring environment variables] asie |
|---|
| ====== Post-getting started guide ====== | ====== Post-getting started guide ====== |
| | |
| | ===== Updating ===== |
| | |
| | As the installer and bootstraps are updated less often than packages themselves (especially outside of Linux), it is recommended to run ''%%wf-pacman -Syu%%'' after the initial installation. |
| |
| ===== Installing packages ===== | ===== Installing packages ===== |
| ===== Configuring environment variables ===== | ===== Configuring environment variables ===== |
| |
| To make accessing Wonderful easy, you may want to pre-populate the environment variables in your shell on launch: | To make accessing ''%%wf-%%'' tools easy, you may want to alias ''%%wf-env%%'' to allow them to be easily added to PATH when needed: |
| | |
| * For **bash**, add ''%%source /opt/wonderful/bin/wf-env%%'' to your ''%%~/.profile%%''. | |
| * For **fish**, add ''%%. /opt/wonderful/bin/wf-env.fish%%'' to your Fish configuration. | |
| * For **zsh**, add ''%%source /opt/wonderful/bin/wf-env%%'' to your ''%%~/.zprofile%%''. | |
| | |
| Alternatively, you may want to alias ''%%wf-env%%'' to allow them to be easily added when needed: | |
| |
| * For **bash**, add ''%%alias wf-env='source /opt/wonderful/bin/wf-env'%%'' to your ''%%~/.profile%%''. | * For **bash**, add ''%%alias wf-env='source /opt/wonderful/bin/wf-env'%%'' to your ''%%~/.profile%%''. |
| * For **fish**, add ''%%alias wf-env . /opt/wonderful/bin/wf-env.fish%%'' to your Fish configuration. | * For **fish**, add ''%%alias wf-env . /opt/wonderful/bin/wf-env.fish%%'' to your Fish configuration. |
| * For **zsh**, add ''%%alias wf-env='source /opt/wonderful/bin/wf-env'%%'' to your ''%%~/.zprofile%%''. | * For **zsh**, add ''%%alias wf-env='source /opt/wonderful/bin/wf-env'%%'' to your ''%%~/.zprofile%%''. |
| | |
| | Alternatively, you may want to pre-populate the environment variables in your shell on launch: |
| | |
| | <WRAP center round important 100%> |
| | This is not recommended for Windows/MSYS2 users. Due to DLL resolution issues, this can cause MSYS2-built programs provided by other developers to not work correctly. Caveat emptor. |
| | </WRAP> |
| | |
| | * For **bash**, add ''%%source /opt/wonderful/bin/wf-env%%'' to your ''%%~/.profile%%''. |
| | * For **fish**, add ''%%. /opt/wonderful/bin/wf-env.fish%%'' to your Fish configuration. |
| | * For **zsh**, add ''%%source /opt/wonderful/bin/wf-env%%'' to your ''%%~/.zprofile%%''. |
| |
| If you want to access toolchain components (like ''ia16-elf-gcc'' or ''arm-none-eabi-objdump'') directly, you may wish to add the ''%%-a%%'' argument. | If you want to access toolchain components (like ''ia16-elf-gcc'' or ''arm-none-eabi-objdump'') directly, you may wish to add the ''%%-a%%'' argument. |
| ===== Learning more ===== | ===== Learning more ===== |
| |
| Detailed (to the best of the toolchain's ability) information about each target and feature is available [[index|throughout the wiki]]. You may also wish to consult [[community|other community members]]. Have fun and remember not to take this hobby too seriously! | Detailed (to the best of the toolchain's ability) information about each target and feature is available throughout [[:start|the wiki]]. You may also wish to consult [[:community|other community members]]. Have fun and remember not to take this hobby too seriously! |