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

Re: Simplifying bootstrap on circular-dependent packages

On 16/11/2011 18:12, Goswin von Brederlow wrote:
> [...]
> How do you intend to build that fake lib?
> I guess it comes down to getting a list of symbols on an existing
> architecture (or from the symbols file?), creating a "void symbol;" stub
> for each and then building a fake lib for the target arch.
> What about C++ where symbols are architecture dependent? I guess you
> could detect which symbols are C and which C++, demangle them, insert
> extern "C" {} as needed and build using g++.

Do you really need to demangle them? If the fake lib is only going to be used
for linking, surely you could just create a "void mangled_symbol;" stub in C to
achieve the same effect as well?

Kind regards,
Loong Jin

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: