Re: [AD] Patch for the Borland port

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> So the Borland C++ port and the MinGW32 port both use now linking by
symbol
> name, whereas the MSVC port uses linking by symbol index number. Hence my
> question: is there any way for Allegro to force MSVC to use linking by
> symbol name too ? This would greatly simplify the DLL binary compatibility
> issue.

Dunno if this is what you mean, but i found this option for the msvc6 linker

/INCLUDE   (Force Symbol References)

The Force Symbol References (/INCLUDE:symbol) option tells the linker to add
a specified symbol to the symbol table. (To find this option in the
development environment, click Settings on the Project menu. Then click the
Link tab, and click Input in the Category box.)

Type a symbol name in the Force Symbol References text box. To specify
multiple symbols, type a comma (,), a semicolon (;), or a space between the
symbol names. On the command line, specify /INCLUDE:symbol once for each
symbol.

The linker resolves symbol by adding the object that contains the symbol
definition to the program. This feature is useful for including a library
object that otherwise would not be linked to the program.

Specifying a symbol with this option overrides the removal of that symbol by
/OPT:REF.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/