digitalmars.D - error building on Syllable
- Rohan (4/4) Apr 21 2009 Hi! I try to build DMD under Syllable, but I get next error. I tried 1&2...
- Frits van Bommel (8/14) Apr 21 2009 Looks like simple missing #includes.
- Denis Koroskin (9/21) Apr 21 2009 Indeed, it looks like errno.h is not included ('errno' was not declared)...
- Rohan (3/3) Apr 21 2009 I tried to build all with option -Dlinux=1, and it's helped, I ret
- Denis Koroskin (8/12) Apr 21 2009 Well, technically, Syllable is not Linux.
- Rohan (8/8) Jul 21 2009 I maked build of Syllable Developer Edition. This build is for VMware,
Hi! I try to build DMD under Syllable, but I get next error. I tried 1&2 versions and BSD port, and it didn't help. http://img95.imageshack.us/img95/5505/capturey.png Could anybody help?
Apr 21 2009
Rohan wrote:Hi! I try to build DMD under Syllable, but I get next error. I tried 1&2 versions and BSD port, and it didn't help. http://img95.imageshack.us/img95/5505/capturey.png Could anybody help?Looks like simple missing #includes. Figure out which header should declare each of those symbols and #include it at the top of any source file that can't find them. (The most likely cause is a header that on Linux and OS X is #included by some other header, but not on Syllable...) After doing that, it'd be nice to put a patch in bugzilla: http://d.puremagic.com/issues/
Apr 21 2009
On Tue, 21 Apr 2009 15:06:02 +0400, Frits van Bommel <fvbommel remwovexcapss.nl> wrote:Rohan wrote:Indeed, it looks like errno.h is not included ('errno' was not declared) as well as unistd.h ('getcwd' was not declared). It seems that the following block was ignored (top of dwarf.c): #if linux || APPLE || FreeBSD #include <signal.h> #include <unistd.h> #include <errno.h> #endif I bet neither of the three are defined for some reason.Hi! I try to build DMD under Syllable, but I get next error. I tried 1&2 versions and BSD port, and it didn't help. http://img95.imageshack.us/img95/5505/capturey.png Could anybody help?Looks like simple missing #includes. Figure out which header should declare each of those symbols and #include it at the top of any source file that can't find them. (The most likely cause is a header that on Linux and OS X is #included by some other header, but not on Syllable...) After doing that, it'd be nice to put a patch in bugzilla: http://d.puremagic.com/issues/
Apr 21 2009
I tried to build all with option -Dlinux=1, and it's helped, I ret around this error, but after it I had fail http://img164.imageshack.us/img164/820/capture4.png
Apr 21 2009
On Tue, 21 Apr 2009 22:35:58 +0400, Rohan <rohan land.ru> wrote:I tried to build all with option -Dlinux=1, and it's helped, I ret around this error,Well, technically, Syllable is not Linux. So, the following list needs to be expanded: - #if linux || __APPLE__ || __FreeBSD__ + #if linux || __APPLE__ || __FreeBSD__ || __SYLLABLE__ or rather a shorter #ifdef POSIXbut after it I had fail http://img164.imageshack.us/img164/820/capture4.pngThese all come from <math.h>, are you sure you link with C runtime library? (glibc?)
Apr 21 2009
I maked build of Syllable Developer Edition. This build is for VMware, and include all what needed for developing (IDE + GCC ...). I still hope that someone from D folks may help with porting D. I tried several times to do it himself, but without result. If somone interesting in porting D to other Operation Systems, he free to doownload this image and play with Syllable under VMWare. http://playfile.ru/get/3421/ (150MB) P.S. plz do not use VirtualBox. Syllable work on it very badly.
Jul 21 2009