Opened 9 years ago

Last modified 9 years ago

#354 new enhancement

Export DLL symbols and create implib with gcc

Reported by: KO Myung-Hun 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 by gianfli, 9 years ago

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

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

in reply to:  1 comment:2 by gianfli, 9 years ago

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