Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: GPT on April 28, 2003, 02:00:43 PM

Title: C++ problems
Post by: GPT on April 28, 2003, 02:00:43 PM
Hi,
I have downloaded Gcc 3.?.? and when I try to compile it,  it complaines about not finding ld file nor drawer. ie "ld:".

Anything I missed to download?
Title: Re: C++ problems
Post by: GPT on May 05, 2003, 09:21:01 AM
When I try to assamble my c++ code, I get the following, "installation problem, cannot exec 'ld'. No such file or directory"


Have I installed gcc wrong?
If so, how do I install it then, it's not like there' a installer script included.

Title: Re: C++ problems
Post by: Karlos on May 05, 2003, 11:26:01 AM
Version 3.?.?

Looks like the linker is missing...
Do you have binutils installed?

-edit-

The directory containing the bin files needs to be in your search path...
Title: Re: C++ problems
Post by: elendil on May 05, 2003, 02:09:28 PM
Now that we are at it, how hard is gcc to get working on the amiga for someone who might not know a whole lot about it?

Is this thread dealing with the amiga gcc, btw?

I know apt-get install gcc makes it possible for me to type gcc blah.c and mingw does the same in windows. Very easy and good for me, since I absolutely hate spending days getting it working, when instead I could have programmed my hello world thingies :)

I am primarily concerned with C and not C++, btw.

Sincerely,

-Kenneth Straarup.
Title: Re: C++ problems
Post by: Kronos on May 05, 2003, 03:50:52 PM
@elendil

Depends on the source you use for GG (Geekgadgets).

If you come across one of the very first GG-CDs done by Cronus
(not related  ;-) ), you could just do it by using the standard
installer.

But that version is really oooooooooooooold.

The downloadable version come with a small readme, and
after you the fist miminmal setup (BOOT.something)
running, you would only need to run a script.

Problem is you would still be missing the include-file
to compile SW that uses Amiga-specific APIs.

But that should be enough for "Hello world", and after that,
just ask again.
Title: Re: C++ problems
Post by: GPT on May 06, 2003, 12:27:27 PM
I think that it's easier to start all over again.

What ftp sites or http sites did you guys use to download gcc from?

How did you install it?

And whata hell is "link" used in archives for?:
In some of the archives from a ftp site that hade gcc, it said "link" after some files when I used VoodooX for extracting.
Title: Re: C++ problems
Post by: elendil on May 06, 2003, 02:04:30 PM
Thanks for the answer, Kronos.

When I get the time (not now, unfortunately) I will try it out and if it appears to be working find some developer-cd thingie. I would love to be able to program (little) amigaspecific stuff. I once did a tutorial-thingie that was very good, but I forgot its name, sadly.

Sincerely,

-Kenneth Straarup.