in reply to Re^5: problem with par as other user
in thread problem with par as other user

linker errors because you do not show perl58.lib file to linker?

Replies are listed 'Best First'.
Re^7: problem with par as other user
by Ace128 (Hermit) on Jun 29, 2006 at 23:38 UTC
    Wierd. Should work. All needed should be in that dir...C:\Perl\lib\CORE... I forgott to add the link to that lib for the linker, but this _should_ be working!

    gcc.exe "C:\test\start.c" -o "C:\test\start.exe" -I"C:\Dev-Cpp\include" -I"C:\Perl\lib\CORE" -L"C:\Perl\lib\CORE" -L"C:\Dev-Cpp\lib"

    Notive the -L"C:\Perl\lib\CORE" part. Also, the perl58.lib is there. Aswell as PerlEz.lib.
    Still no go though...

    Ace
      you should list perl58.lib in your command line?
      gcc.exe "C:\test\start.c" -o "C:\test\start.exe" -I"C:\Dev-Cpp\include +" -I"C:\Perl\lib\CORE" -L"C:\Perl\lib\CORE" -L"C:\Dev-Cpp\lib" perl58 +.lib

      And here's many information on using gcc for compiling modules with activestate perl here, on PM

        Ok, well this worked:
        C:\test>c:\Dev-Cpp\bin\gcc.exe "C:\test\start.c" -o "C:\test\start.exe +" -I"C:\Dev-Cpp\include" -I"C:\Perl\lib\CORE" -L"C:\Dev-Cpp\lib" "c:\ +Perl\lib\CORE\perl58.lib"