![]() |
sponsored links |
|
|
sponsored links
|
|
|
5
22nd October 02:56
External User
Posts: 1
|
Have you tried
gpc -v secd.pas It should print command lines for programs inveked by gpc. The last part should be linker command line. I checked the gpc-20050331-with-gcc.i386-pc-mingw32.tar.gz tarball and libgcc.a is in the mingw/lib/gcc-lib/mingw32/3.2.3/ subdirectory. So it seems that info about location of libgcc.a is not passed to the linker. It is hard to tell more without knowing details of your setup: paths to mingw directory, output of gpc -v ... -- Waldek Hebisch hebisch@math.uni.wroc.pl |
|
|
7
22nd October 02:57
External User
Posts: 1
|
ld automatically adds lib prefix (on Windows it also tries name without
the prefix). So really ld wants to see libgcc.a. The the output above suggest that you are using wrong gpc version. The gpc-20050331-with-gcc.i386-pc-mingw32.tar.gz tarball corresponds to gcc-3.2.3, but the paths you posted correspong to gcc-3.2.2. So it seems that you are picking some different gpc.exe, not the one from Prof A Olowofoyeku tarball. gpc-20050331-with-gcc.i386-pc-mingw32.tar.gz puts libgpc.a in \mingw\lib\gcc-lib\mingw32\3.2.3 directory but your gpc thinks it should be in the \mingw\lib\gcc-lib\mingw32\3.2.2 directory -- Waldek Hebisch hebisch@math.uni.wroc.pl |
|