Re: Library functions
From: Jeff Schwab (jeffplus_at_comcast.net)
Date: 03/12/04
- Next message: Christopher Browne: "Re: A bit OT, but this issue about FAT patented by MS is not a real one to be worried about, some experiments."
- Previous message: Mike O'Reilly: "Re: where is ipcs source code?"
- In reply to: Harald Grossauer: "Re: Library functions"
- Next in thread: Roger Leigh: "Re: Library functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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".
- Next message: Christopher Browne: "Re: A bit OT, but this issue about FAT patented by MS is not a real one to be worried about, some experiments."
- Previous message: Mike O'Reilly: "Re: where is ipcs source code?"
- In reply to: Harald Grossauer: "Re: Library functions"
- Next in thread: Roger Leigh: "Re: Library functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|