Web lists-archives.com

Re: [Mingw-msys] No Notes since the 14th

On 2009-03-29 00:00Z, eehab hamzeh wrote:
> gcc.exe: hamzeh.dll no such file or directory
> this comes after writing the following command
> gcc -shared hamzeh.dlltt1.o "c:/programme/postgresql/8.3/lib" -lpostgres

Perhaps you wanted a command like this instead?

gcc -shared -o hamzeh.dll tt1.o -L "c:/programme/postgresql/8.3/lib" -lpostgres

'hamzeh.dlltt1.o' looks like a space is missing between 'l' and 't'.

'-o' names the output file.

'-L' names a library search path.

Mingw-msys mailing list