Browsing this Thread:
1 Anonymous Users
GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2009/3/15 4:41 Group:
Member Posts:
360
![]() |
My AROS ARES/Broadway system came without a GCC installation.
Now I installed GCC 3.x from one of the AROS download pages on my AROS system. I installed everything like it was descriped in the readme: ( put evry thing on sys:development, insert some assigns to user-startup ) But the GCC system refuse to work. gcc--version gcc (GCC) 3.3.1 .Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is N warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Trying a compilation of a HelloWorld.c
#include <stdio.h>
leads to: HelloWorld.c:l:I9: stdio.h No such file or directory compiling this:
//#include <stdio.h>
/usr/bin/ld: startup.o: No such file: No such file or directory. It seems as if assignes and pathes are totally f***ed up. Any ideas where to get a working GCC version for AROS ( console applications would be enough for the next 6 month) ?
Posted on: 2011/8/6 6:40
|
|
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2008/1/7 12:41 From Poland
Group:
Member Posts:
2098
![]() |
3.x is obsolete. Just take any nightly build ISO and you will find everythign you need in AROS Live CD:Development
Posted on: 2011/8/6 7:16
|
|
|
_________________
Krzysztof "There is no such thing as software for free. If it is not the user who covers the cost of software creation with money, it is the developer who covers this cost with his own free time." www.aros3d.org www.twitter.com/ddeadwood |
||
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2009/3/15 4:41 Group:
Member Posts:
360
![]() |
Quote:
OK accepted but I couldn't find a "nightly build ISO" When I looking here http://aros.sourceforge.net/download.php I only found packeges that needed a GCC (without containig any GCC) Now I downloaded a GCC4 for AROS 386 decrunced it with bunzip Then I typed "tar -xvf gcc-4.2.2-i386-aros.tar" tar did a lot of "de-archiving" and stopped wit the error message: /work/Extras/Development/bin/tar: Error exit delayed from previuos errors Is there any package that could be installed without a lot of problems and works like it should be ? Update: Now with GGC4 I got an improve in error messages my HelloWorld.c displays 3 lines of error messages instead of only 1: #Helloworld.c:l19: error: stdio.h No such file or directory Helloworld.c: In function 'main': Helloworl.c:5: warning: incompatible implicit declaration of built-in function 'printf' Maybe I'm wrong, but a simnple "Helloworld.c" should be compil-able with GGC3, GCC4 an even with GCC1. There is still a missing system setting for the include path and the readme doesn't tell me how to setup the path correctly. Regards GreenNight. BTW: . I'm an excellent beta tester, whenever something could go wrong, it happens to me.
Posted on: 2011/8/7 13:35
Edited by GreenNight on 2011/8/7 14:02:25
Edited by GreenNight on 2011/8/7 14:05:37 Edited by GreenNight on 2011/8/7 14:06:32 |
|
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2010/1/8 10:07 Group:
Member Posts:
1022
![]() |
copy this to file and execute the file from shell and try if that helps
Assign INCLUDE: Development:include Assign LIB: Development:lib Assign USR: Development: Assign TMP: T: Stack 262144 If Exists Development:bin Assign BIN: Development:bin Path ADD Development:bin EndIf
Posted on: 2011/8/8 9:46
|
|
|
_________________
Lets build not destroy http://www.portacall.org/ |
||
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2009/3/15 4:41 Group:
Member Posts:
360
![]() |
Quote:
Thank for your reply, the readme for Install said:
Assign GCC: SYS:Development
It did nothing for a working path to the includes. But I think your links will fail to, because in my system development: is somewhere at work: and sys:development is where I copied the GCC files according to the install-readme. Maybe someonme can help me checking some pathes and assigns:
search from gcc:include file stdio.h all
Could someone please send me his settings and pathes. update I allways tried to make all changes in user-startup but finally I loked into the startup-sequence This explained why I have a development: that is different from sys:development that was used as install for GCC in the install-readme
Assign EXISTS Development: >NIL:
$develpath is set to dh1:Development This explains some problems I have with GCC, I m gone try to install everything in development instead of sys:development. Could someone please delete (or fix) the install-readme file in the GCC archive ? thanks .
Posted on: 2011/8/8 13:45
Edited by GreenNight on 2011/8/8 14:10:21
|
|
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2009/3/15 4:41 Group:
Member Posts:
360
![]() |
Now I copied everything from sys:development to development and fixed the assignes in user-startup and it still doesnt work.
GCC doesn't has a clue what kind of path will lead him to <stdio.h>. On an Amiga or on my MorphOS box I would use snoopdos, it would show me where GCC is searching for <stdio.h> maybe I need a system variable like C_DIR or C_INC for GCC but all the docs I found where wrong and important parts are missing. could someone who has a working GCC4.2.2 please post the results of this: dir include:#? all or dir development:include #? all
4.2.2 (dir)
The content of ENV: would be interesting too: dir env:#? all
RAM Disk:ENV/SYS (dir)
Thanks for your help
Posted on: 2011/8/8 14:58
|
|
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2008/1/7 12:41 From Poland
Group:
Member Posts:
2098
![]() |
@GreenNight
You can find the ISO here: http://aros.sourceforge.net/download.php#nightly-builds Search for "pc-i386-boot-iso" Boot your computer with it and you should be able to compile stuff using gcc. :)
Posted on: 2011/8/8 21:41
|
|
|
_________________
Krzysztof "There is no such thing as software for free. If it is not the user who covers the cost of software creation with money, it is the developer who covers this cost with his own free time." www.aros3d.org www.twitter.com/ddeadwood |
||
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2009/3/15 4:41 Group:
Member Posts:
360
![]() |
Thanks for your help,
I found and downloaded a file with the name: AROS-20110808-pc-i386-boot-iso.zip I tried to open it with unzip and gzip -d and with a Zune archiver utillity, but without any success. Would someone please give me a link to an iso that is compatible with AROS gzip or AROS unzip or give me a link to a de-archiver that works. Thanks. Sorry for not posting the error output but I don't know how to copy & paste something of the AROS shell. Update I The file I downloaded as AROS nightly was damaged, I couldn't open it on Windows too, I downloaded it again under windows and burned a CD. Update II GCC in the Live CD worked like a charm. After searching around for some assigns in the s: (there was nothing special) and for file structures in the development: folder from the live CD I just copied development to dh1:development and now I have a working GCC on my AROS system. I got the faulty GCC packages from here: http://archives.aros-exec.org/index.p ... nction=search&tool=simple Exactly here: http://archives.aros-exec.org/share/d ... cc-3.3.1-v2-i386-aros.zip and here: http://archives.aros-exec.org/share/d ... c-4.2.2-i386-aros.tar.bz2 Someone should delete them, they wont help anybody.
Posted on: 2011/8/9 13:55
Edited by GreenNight on 2011/8/9 15:30:51
Edited by GreenNight on 2011/8/9 16:19:06 |
|
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2010/1/8 10:07 Group:
Member Posts:
1022
![]() |
Now i have problem with my dev installation..
complains about not finding "stream.h" and i know its there but somehow g++ not can not find g++ include files and normal gcc compiles without any problem..
Posted on: 1/8 1:37
|
|
|
_________________
Lets build not destroy http://www.portacall.org/ |
||
Transfer
|
||
Re: GCC Development package / Problems after installation |
||
|---|---|---|
Joined:
2010/1/8 10:07 Group:
Member Posts:
1022
![]() |
reply back to myself and sorry not "stream.h" -> iostream anyway here is a screenshoot with whats compiled and what error i get all in one screen...
Posted on: 1/8 6:06
|
|
Transfer
|
||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.


Transfer
ggg.jpg (159.46 KB)






