No I did not realise that you need to have gcc installed before installing GPC. I assumed that the GPC distro I downloaded would come with everything to hit the road running.
I am now getting yet more errors along the lines of..
C:/Progra~1/Borland/gpc/lib/gcc-lib/mingw32/3.2.2/libgpc.a(rts.o)(.text+0x9cb):rts.c: undefined reference to `sqrtl'
So it looks like I need to invest some time into trying to get gcc setup correctly before proceeding any further.
Dominique http://www.DelphiGamer.com := go on, write a game instead;
Prof. A Olowofoyeku (The African Chief) wrote:
On 10 Apr 2003 at 12:26, Dominique Louis wrote:
Hi, Yes I had created them but they were in the same directory as the SDL.pas file. I thought they were needed locally to the pas file to be linked in.
I have moved them and that bit seems to work, but it now complains that "ld.exe: cannot find -lgcc".
I managed to find a libgcc.a under my old 2.95 wingw directory, but nothing is included in the newer 3.2.2 directory which I downloaded from http://www.gnu-pascal.de/contrib/chief/win32/mingw32/ ( April 1 Snapshot ).
This is because it is assumed that you already have gcc 3.2.2 installed. What version of gcc do you have? If you type "gcc -v" you will see the version number - and it has to match the gcc version that your GPC is based on.
Anyway, you can download gcc-3.2.2 from the Mingw download page: http://prdownloads.sourceforge.net/mingw/gcc-3.2.2-20030208- 1.tar.gz?download
Or else, you can download a GPC binary that is based on gcc-2.95.3-6. Unfortunately, this will have to be the penultimate GPC snapshot: http://www.gnu-pascal.de/contrib/chief/win32/mingw32/gpc-20030209-gcc- 2.95.3-6-with-gcc.i386-pc-mingw32-1.tar.gz
(mind the word wrapping on these URLs).
Best regards, The Chief
Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.bigfoot.com/~african_chief/