This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: "ld: fatal: relocations remain against allocatable but non-writable sections" Error
- To: "Chris Kirgios" <ckirgios at ajboggs dot com>
- Subject: Re: "ld: fatal: relocations remain against allocatable but non-writable sections" Error
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Thu, 22 Oct 1998 19:06:15 -0500
- Cc: gnu-win32 at cygnus dot com
"Chris Kirgios" <ckirgios@ajboggs.com> writes:
> I have a problem linking my code using GNU g++. On Solaris, I create a bunch
> of shared libraries using g++. One of the libraries used to be a C library
> that I 'converted' to ANSI C. It contains some global variables (I am not
> sure this is relevant but ...).
> Whenever I link that library with
>
> g++ -shared -o
win32 GCC ports don't support the -shared flag since the linker doesn't
yet support the -shared flag.
See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ for my
dllhelpers package, which will go away and die once the PE linker
supports creating shared libraries (using -G or -shared). Colin
Peters also has a good description of the process on his web (there
is a link to his site from -- see "Related Sites" on my web page).
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".