Re: Library functions

From: Jeff Schwab (jeffplus_at_comcast.net)
Date: 03/12/04


Date: Thu, 11 Mar 2004 23:30:15 -0500

Harald Grossauer wrote:
> Måns Rullgård wrote:
>
>
>
>>Add -rdynamic to the linker flags for the main program.
>>
>
>
>
> Thanks, that did the job.
>
> BTW, could it also be done by declaring the function with "export"?

No, I don't think so.

> I have never used nor needed "export", and since all I know about this
> keyword is, that no compiler supports it yet, I have not tried to learn
> about it.

The "export" keyword is meant to allow code to be brought to some
intermediate form that isn't really compiled until link-time. Until we
get very smart linkers, "export" will continue to be about as useful as
"auto".



Relevant Pages

  • Re: C# or VB.NET?
    ... As with so many things in the development world, it comes down to good coding guidelines that you and your team must agree to follow. ... Just because I want the compiler to find the most errors/situations it can. ... I didn't like this keyword in VB6. ... I find Option Explicit/Strict being optional ... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Opinions about a book
    ... restricted pointers (restrict keyword). ... variable-length Arrays ... Or perhaps the documentation is out of sync with the compiler. ...
    (comp.lang.c)
  • Re: Register keyword and "as if" rule...
    ... its way to take a full 10 minutes every time a "register" declared ... Then my compiler is still C compliant, ... keyword if they want their code to run smoothly on all implementations: ... Optimization hints in general are not nearly so important as they were ...
    (comp.lang.c)
  • Re: C# or VB.NET?
    ... Everybody knows to turn on Explicit/Strict options. ... I still get arguments why some developers don't want to use it that way. ... I didn't like this keyword in VB6. ... As it been for years C# compiler is less guessing/forgiven than VB.NET ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Library functions
    ... Harald Grossauer writes: ... > keyword is, that no compiler supports it yet, I have not tried to learn ... Please sign and encrypt your mail. ...
    (comp.os.linux.development.apps)