Page 4 of 7
Re: FreeDOS support
Posted: Tue Dec 01, 2015 11:44 am
by pohmelie
josie87
Oh, I forgot about this. Copy "djgpp/i586-pc-msdosdjgpp/sys-include/sys/types.h" to "djgpp/i586-pc-msdosdjgpp/sys-include/sys/_types.h" and everything should be ok. I will add this to build guide, thanks.
Re: FreeDOS support
Posted: Wed Dec 02, 2015 6:03 am
by josie87
That helped, got another error:
- Bildschirmfoto von »2015-12-02 07-02-35«.png (61.31 KiB) Viewed 7671 times
Re: FreeDOS support
Posted: Wed Dec 02, 2015 11:40 am
by pohmelie
josie87
Which version of DJGPP do you use? I found signbit function in djgpp/i586-pc-msdosdjgpp/sys-include/math.h so... can't reproduce this. Did you change something in files?
Re: FreeDOS support
Posted: Wed Dec 02, 2015 12:53 pm
by pfalcon
pohmelie wrote:There is some «trick» to avoid alloca.h, for example. I use -D__FreeBSD__=5 cause -DMICROPY_NO_ALLOCA=1 does not work. Hm, but probably we can just remove those #if #else #end and just #include <stdlib.h> at the end of mpconfigport.h.
Please report such issues on github.
Re: FreeDOS support
Posted: Wed Dec 02, 2015 1:17 pm
by pohmelie
pfalcon
I'm not sure if it is a real issue. I've just remove alloca.h, as it done in arm builds (with stdlib.h):
https://github.com/pohmelie/micropython ... 6927ddea62
Re: FreeDOS support
Posted: Wed Dec 02, 2015 4:30 pm
by josie87
pohmelie wrote:josie87
Which version of DJGPP do you use? I found signbit function in djgpp/i586-pc-msdosdjgpp/sys-include/math.h so... can't reproduce this. Did you change something in files?
4.9.3, also tried 5.2
wich version are you using?
Re: FreeDOS support
Posted: Wed Dec 02, 2015 6:23 pm
by pohmelie
josie87 wrote:wich version are you using?
I'm using 5.2.0. Did you found signbit in math.h?
Re: FreeDOS support
Posted: Wed Dec 02, 2015 8:02 pm
by pohmelie
I have just tested whole build process (
https://github.com/pohmelie/micropython ... s#building) on virtualbox xubuntu 15.04 and everything is ok.
Re: FreeDOS support
Posted: Thu Dec 03, 2015 8:47 am
by josie87
pohmelie wrote:josie87 wrote:wich version are you using?
I'm using 5.2.0. Did you found signbit in math.h?
for some reason it's not there. I'll try to reinstall
Re: FreeDOS support
Posted: Thu Dec 03, 2015 8:47 am
by josie87
Maybe because I'm on Arch