bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: function name prefix


From: Tim Klein
Subject: Re: function name prefix
Date: Sat, 16 Jun 2001 01:27:25 -0700

Sorry for the error in my original mail I should have said function names
are prefixed by underscores.  NOT filenames.

TK

Tim Klein wrote:

> Hi,
>
> I am trying to build and link a C file on Windows NT running CYGWIN.
> The problem I'm seeing appears to be that the compiler under CYGWIN
> prefixes an underscore (-) to all file names.  Unfortunately the
> libraries I'm using were built under linux and don't have underscore
> prefixed function names.  The result of course is lots of unresolved
> references when I link.
>
> I should point out that the libraries do not contain anything which is
> platform dependant so what I'm trying to do is perfectly valid.
>
> Is their an easy fix for this eg. a command line switch in gcc or ld.
> Alternatively a tool I can post process the linux generated libraries to
> prefix all file names with '_' or perhaps a description of the archiver
> file format so I can write a conversion utility myself.
>
> Any help or suggestions would be appreciated.
>
> Tim Klein




reply via email to

[Prev in Thread] Current Thread [Next in Thread]