winegcc: Add support for -Ttext-segment linker flag to set image base of a dll. (try 2)

Alexandre Julliard julliard at
Wed Mar 6 05:25:45 CST 2013

Alexandre Julliard <julliard at> writes:

> Tijl Coosemans <tijl at> writes:
>> On 03-03-2013 17:44, André Hentschel wrote:
>>> You would rather call it PLATFORM_FREEBSD
>> Well, the flag isn't FreeBSD specific. It works on all ELF targets
>> (including Linux which then wouldn't need prelink).
> Then it should be used by default, and you don't need to add a new
> platform for it.

Actually, I looked into this and it isn't widely supported at all, so it
can't be the default. Ideally it would need a run-time check to see if
the option works.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list