Re: Euphoria for FreeBSD!
- Posted by Martin Stachon <martin.stachon at worldonline.cz> Apr 21, 2002
- 445 views
Rob Craig writes: > You first have to install Euphoria for Linux, > then replace exu with the one compiled for FreeBSD. > The two platforms are so similar, I decided to let > platform() return 3 for both of them. Otherwise > a lot of existing Linux code would break needlessly on FreeBSD. As Eu ports for other platforms may follow, how about extending platform() like this : sequence s s = extended_platform() s[OSFAMILY] = "Unix","Dos","Windows","MacOS" s[OSNAME] = "Windows","FreeBSD","Linux","OpenBSD","AIX","MacOS","MacOS X"... s[OSVERSION] = xx.yy s[ARCHITECTURE] = "mc68000","i386","IA-64","PowerPC"... s[BYTE_ORDER] = BIG_ENDIAN,LITTLE_ENDIAN ... Martin Regards, Martin Stachon martin.stachon at worldonline.cz http://www.webpark.cz/stachon