Opened 8 years ago

Last modified 8 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 Changed 8 years ago by gianfli

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

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

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

Replying to gianfli:

Yes, also I think this is the right way ;)

Version 0, edited 8 years ago by gianfli (next)
Note: See TracTickets for help on using tickets.