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

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"

Replies are listed 'Best First'.
Re^10: problem with par as other user
by vkon (Curate) on Jun 30, 2006 at 12:36 UTC
    ... and we're proud

    :) :) :)

      Yea, nice to be able to compile such kewl things yourself... since then you can always add stuff you want yourself ;)

      But, em... what did you do to make those cstart and wstart? I mean, you do something different in the code or add some parameter to the compiling part?
        thats either linker (I used MSVC++'s one) or ... remember editbin? /subsystem:console
        I just thought.... I don't exactly remember, but quite possibly that redistributable perl was compiled by myself, may be with perl memory allocator (but may be not) so it is wrong to use ActiveState's perl58.lib, I must ship mine!

        Otherwise compiled by you "start.exe" could work incorrectly, and of course extensions DLLs are not compatible.
        Look at perl58.dll's size: its size 2+Mb, while normaly its 1-Mb; because it contains compiled-in extensions.

        But I also succeeded preparing redistribution from ActiveState perl, albeit I did not use it. (and number of DLLs will be larger in this case)

        So be careful.