Đã Đóng

Compiling Perl as a static library with MinGW

I would like to compile Perl from source in a Win32 environment as a STATIC library (rather than DLL), using the MinGW port of GCC (not Cygwin, just the bare MinGW from a standard command-prompt shell). I'm writing some C applications that use an embedded Perl interpreter for macros, and I would like to avoid having any DLL dependencies (just have one standalone EXE). I've sucessfully compiled the Perl DLL using MinGW 1.1(though it seems you have to use the 5.8.0 snapshot, the latest standard release doesn't compile with MinGW without some significant modifications). However, I haven't had much luck researching the ability to compile as a static library (apparently this is a weird requirement). I'm mainly just interested in knowing the [url removed, login to view] alterations (or whatever) needed for me to run "dmake" and get a static library. Willingness to provide an actual statically-compiled Perl build would be great. A huge plus would be the ability to provide information about how to also use external modules in this static fashion (if I want to add some Tk stuff or XML parsing abilities to my embedded Perl interpreter, how can I compile all that into the static library used by my C program?). If I'm just absolutely crazy and this is a stupid idea (i.e. the EXE's would be 2GB in size!)... I'd like some detail about why that's the case so I can give up and stop thinking about it!

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.

## Platform

- Windows NT/2000 and the standard command-prompt (no Cygwin or MSYS preferably) - MinGW 1.1 (latest stable version released 9/20/2001) - Perl (I've been using the 5.8.0-RC1 snapshot, but if you can make it work with the latest stable release that'd be great too)

Kĩ năng: Lập trình C, Kĩ thuật, MySQL, Perl, PHP, Kiến trúc phần mềm, Kiểm tra phần mềm

Xem nhiều hơn: writing macros, writing in standard form, standard library c, perl get, one-stop plus, one stop plus, c library standard, windows 8 snapshot, my interpreter, msys, mk, library, library information, gcc, cygwin, crazy 8, build a dll, standalone executable, add external source, add macros

Về Bên Thuê:
( 0 nhận xét ) United States

ID dự án: #2855553

1 freelancer đang chào giá trung bình $17 cho công việc này

srisrivw

See private message.

$17 USD trong 14 ngày
(12 Nhận xét)
1.5