You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a tedious but successful execution of tools.bash, binutils.build.bash, gcc.build.bash, avr-libc.build.bash and gdb.build.bash it is time for me to package the libs and programs generated in objdir. According to the doc the script for that is package-avr-gcc.bash.
A) Arrggg! package-avr-gcc.bash starts by deleting all that has been done before, including objdir.
Then it rebuilds everything from scratch and finally makes a package.
Please, at least, update the doc to explain that!
May I also suggest this enhancement:
Duplicate package-avr-gcc.bash in a new file: all.build.bash or full.build.bash
(or any other name making obvious that the script does all that is required to generate the toolchain).
Remove from package-avr-gcc.bash everything that is not related to packaging
(this makes the name of the script consistent with its action).
In all.build.bash replace everything related to packaging by a call to package-avr-gcc.bash.
Last but not least, update the doc to explain there are two ways to build the toolchain:
a. The step by step method: tools.bash, binutils.build.bash, gcc.build.bash, avr-libc.build.bash, gdb.build.bash and package-avr-gcc.bash.
b. The single step method using only all.build.bash.
B) Under Cygwin the script ./package-avr-gcc.bash generates errors when it rebuilds everything from scratch, even if each step was working fine individually. I will create other issues for these errors.
Regards.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Please, inform me before to delete all my work : -)
package-avr-gcc.bash: Please, inform me before to delete all my work : -)
Dec 23, 2020
Hello,
After a tedious but successful execution of
tools.bash, binutils.build.bash, gcc.build.bash, avr-libc.build.bash and gdb.build.bash
it is time for me to package the libs and programs generated inobjdir
. According to the doc the script for that ispackage-avr-gcc.bash
.A) Arrggg!
package-avr-gcc.bash
starts by deleting all that has been done before, includingobjdir
.Then it rebuilds everything from scratch and finally makes a package.
Please, at least, update the doc to explain that!
May I also suggest this enhancement:
package-avr-gcc.bash
in a new file:all.build.bash
or full.build.bash(or any other name making obvious that the script does all that is required to generate the toolchain).
package-avr-gcc.bash
everything that is not related to packaging(this makes the name of the script consistent with its action).
all.build.bash
replace everything related to packaging by a call topackage-avr-gcc.bash
.a. The step by step method:
tools.bash, binutils.build.bash, gcc.build.bash, avr-libc.build.bash, gdb.build.bash and package-avr-gcc.bash
.b. The single step method using only
all.build.bash
.B) Under Cygwin the script
./package-avr-gcc.bash
generates errors when it rebuilds everything from scratch, even if each step was working fine individually. I will create other issues for these errors.Regards.
The text was updated successfully, but these errors were encountered: