Opened 4 years ago

Last modified 4 years ago

#354 new enhancement

Export DLL symbols and create implib with gcc

Reported by: komh Owned by:
Priority: normal Milestone: new
Component: emx Version: 0.6.6
Severity: normal Keywords:
Cc:

Description

Hi/2.

There are tools to do this. They are dllar and kdllar. dllar is a bundle. It cannot control very long command line. It requires REXX launcher such as CMD.exe or kRx.exe. It does not support other objects extensions than .o and .obj. Whereas kdllar can do them, but it is a separate program.

So, it would be better to incorporate those facilities to ld and emxomfld. As a result, it will be possible to control with gcc.

In fact, mingw supports those flags such as

    --export-all-symbols : export all symbols
    ---exclude-symbols : exclude given symbols
    --output-def : genereate given .def file
    --out-implib : generate given implib file

If these are supported, we can generate DLLs and implibs with one command line. And this will be useful when porting some unix programs.

Change History (2)

comment:1 follow-up: Changed 4 years ago by gianfli

Yes, I too believe this is the right way ;)!

Last edited 4 years ago by gianfli (previous) (diff)

comment:2 in reply to: ↑ 1 Changed 4 years ago by gianfli

Last edited 4 years ago by gianfli (previous) (diff)
Note: See TracTickets for help on using tickets.