[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ld appears to ignore --entry if --subsystem is posix
From: |
KJK::Hyperion |
Subject: |
ld appears to ignore --entry if --subsystem is posix |
Date: |
Sat, 18 May 2002 18:29:48 +0200 |
---8<-- snip --8<---
gcc -Wl,--base-file,base.tmp \
-Wl,--entry,address@hidden \
-Wl,--file-alignment,0x20 -Wl,--section-alignment,0x20
-Wl,--subsystem,posix:19.90 -mdll -Wl,--image-base,0x400000 \
-o junk.tmp \
misc/psxx.coff misc/psxx.coff misc/main.o misc/stubs.o
../../../../dk/w32/lib/ntdll.a
D:\devtools\mingw\bin\..\lib\gcc-lib\i386-mingw32\2.95.3-6\..\..\..\..\i386-mingw32\bin\ld.exe:
warning: cannot find entry symbol ___PosixProcessStartup; defaulting to
00400020
---8<-- snip --8<---
Is it a bug as I think? Or am I doing something wrong?
output of ld --version:
GNU ld 2.11.90
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Supported emulations:
i386pe
PS: I'm not subscribed to the mailing list, can you CC: relevant replies to
my e-mail address?
- ld appears to ignore --entry if --subsystem is posix,
KJK::Hyperion <=