rmyorston / busybox-w32

WIN32 native port of BusyBox.
https://frippery.org/busybox
Other
677 stars 124 forks source link

[question] how are mingw{32,64}_defconfig kept in sync? #336

Closed avih closed 1 year ago

avih commented 1 year ago

I'm working on improving interactive usage with the UTF8 manifest, and at least for now it requires, among others, to disable FEATURE_EURO, and I thought about adding (now or later) a mingw64u_defconfig file, or some such

I can copy it manually from the mingw64 config and edit it, but I was wondering how you maintain sync between the mingw 32/64 configs, which maybe could be extened to keep the UTF8 config in sync too.

rmyorston commented 1 year ago

I edit them manually. In the past there were more differences between the 32- and 64-bit files. Now it's just the compiler prefix.

avih commented 1 year ago

Now it's just the compiler prefix.

Yeah.

FWIW, the prefix is not required if building in w64devkit, that I can tell (but also doesn't hurt), because the non-prefixed cc or gcc is already the correct one to use.

I think i'll just use sed to create an edited copy of mingw64_defconfig whenever it gets updated.

Thanks.