Syllable Forum Index Syllable
Syllable Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

error: C compiler cannot create executables

 
Post new topic   Reply to topic    Syllable Forum Index -> Syllable Desktop
View previous topic :: View next topic  
Author Message
arpadffy



Joined: 02 Feb 2015
Posts: 2
Location: Stockholm

PostPosted: Mon Feb 02, 2015 9:03 am    Post subject: error: C compiler cannot create executables Reply with quote

Hi,

I am a Syllable beginner, therfore I followed the documentation step by step... but I failed anyway Sad

After installing the Syllable desktop CD and the packs below
[code]bash-4.0# uname -a
syllable syllable.polarhome.com 7 0.6 i586 Syllable
bash-4.0# ls -al *.zip
-rw-r--r-- 1 root system 45845280 Feb 2 14:09 DevelopersDelight-8.i586.zip
-rw-r--r-- 1 root system 6423008 Feb 2 14:26 NetworkNecessities-3.i586.zip
-rw-r--r-- 1 root system 14015363 Feb 2 14:47 PerlPit-6.i586.zip
-rw-r--r-- 1 root system 14999667 Feb 2 14:47 ShellEssentials-1.i586.zip[/code]

gcc is installed

[code]bash-4.0# gcc -v
Using built-in specs.
Target: i586-pc-syllable
Configured with: /boot/home/kaj/build/gcc-4.1.2/configure --prefix=/usr/gcc --enable-languages=c,c++,treelang --with-arch=i586 --enable-sjlj-exceptions --enable-shared --enable-threads --with-system-zlib --disable-libstdcxx-pch
Thread model: syllable
gcc version 4.1.2[/code]

...but it is not usable - there are no header files.

[code]bash-4.0# gcc -o test test.c
test.c:1:19: error: stdio.h: No such file or directory
test.c: In function 'main':
test.c:4: warning: incompatible implicit declaration of built-in function 'printf'
test.c:5:2: warning: no newline at end of file[/code]

I tried to build with "build gcc-4.1.2"
...but there is a valid warning.
[code]
Warnings:
Compile breaks on an illegal instruction crash with GCC 4.1.x itself installed when building in a subdirectory.
GCC has a circular dependency on GLibC.
LibIberty is both in BinUtils and in GCC.
[/code]

Should I extract the headers directly from the
http://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-4.1.2.tar.bz2 ?

It should be that difficult to set up a development environment according the documentation - right?

Does anybody know how to fix this issue?

Thank you in advance.

Regards,
Z
Back to top
View user's profile Send private message Visit poster's website
Bogomips



Joined: 23 Feb 2011
Posts: 307
Location: France

PostPosted: Mon Feb 02, 2015 6:31 pm    Post subject: Reply with quote

Hello,

You must install the headers depending on the version of Syllable. If you have installed Syllable 0.6.7, you must install this package:

http://sourceforge.net/projects/syllable/files/Syllable/0.6.7/SyllableDesktop-0.6.7-development-1.i586.zip/download
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2200
Location: Friesland

PostPosted: Mon Feb 02, 2015 8:35 pm    Post subject: Reply with quote

You could also have installed one of the Syllable community editions:

http://jazzrus.com
Back to top
View user's profile Send private message Visit poster's website
arpadffy



Joined: 02 Feb 2015
Posts: 2
Location: Stockholm

PostPosted: Tue Feb 03, 2015 8:00 am    Post subject: Reply with quote

Thank you very much. Indeed, the development-1 package provided the headers and now the compiler works.
I am curious what can I do with Syllable - seems it is a very interesting project.

Thank you for the support.

Regards,
Z
Back to top
View user's profile Send private message Visit poster's website
Ronaldlees



Joined: 15 Oct 2014
Posts: 144

PostPosted: Fri Feb 13, 2015 3:15 pm    Post subject: Reply with quote

[quote="arpadffy"]Thank you very much. Indeed, the development-1 package provided the headers and now the compiler works.
I am curious what can I do with Syllable - seems it is a very interesting project.

Thank you for the support.

Regards,
Z[/quote]

I think Syllable is very usable. It's small and lightweight, yet it has a feature set sufficient to do things. You can browse the internet with Webster, so the start of a good tcp/ip stack is there. The number of non-mainstream operating systems that have network ability (outside of maybe the embedded market) is pretty small. So, it's a nice platform to work with. Mostly, people don't think it can do anything because so few people are working on it. It's a plum worth picking IMO.
Back to top
View user's profile Send private message
Ronaldlees



Joined: 15 Oct 2014
Posts: 144

PostPosted: Fri Feb 13, 2015 3:31 pm    Post subject: Reply with quote

It has a working C compiler onboard and is self hosted. That's a big leap for a little system. There was a lot of work that has to be done to get to that point.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Syllable Forum Index -> Syllable Desktop All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group