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 ).
Is the newer libgcc.a downloadable separately, becuase if I try and use the 2.95 one it reports quite a few errors?
Thanks,
Dominique http://www.DelphiGamer.com := go on, write a game instead;
Prof. A Olowofoyeku (The African Chief) wrote:
On 10 Apr 2003 at 10:21, Dominique Louis wrote:
Hi Frank and Eike, Yes I did received a response from Eike and I have implemented quite a few of his suggestions, I have also been in contact with Prof. Olowofoyeku, who has helped me immensely offline recently.
But as Eike pointed out he was unable to help with the Win32 specific side of things and I have hassled Prof. Olowofoyeku so much over the last few days I thought I would give him a break.
;)
So as mentioned I am now faced with the Win32 error message ld.exe: cannot find -lsdl
and I do not know where it expects -lsdl to be.
"ld" is looking for either "libsdl.dll.a" or "libsdl.a". If that library file does not exist on your system, then you will need to create it. If you have sdl.dll, then you can create an import library for it, using the batch file I sent to you a while ago. The import library should be called "libsdl.dll.a", and it should be in your /mingw/lib/ directory or where ever you have your gcc/gpc libraries.
Best regards, The Chief
Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.bigfoot.com/~african_chief/