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

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

Replies are listed 'Best First'.
Re^8: problem with par as other user
by vkon (Curate) on Jun 30, 2006 at 05:56 UTC
    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"
        ... and we're proud

        :) :) :)