This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Lack of libsupc++.a on BSD


Andrew Lunn wrote:
On Sun, Nov 16, 2008 at 03:40:12PM +0100, Jesper Skov wrote:
I happened to find something here
(http://www.ecoscentric.com/ecospro/doc.cgi/html/ref/memalloc-standard-api.html)
that suggests
that using the option CYGFUN_MEMALLOC_MALLOC_CXX_OPERATORS should
allow me to work around this.

But I cannot find that option anywhere. Is it in the ecospro repo only?

This is only in ecosCentric's closed source port :-(

<ahem> That's not closed source. It's under the usual eCos licence, distributed as per 3(a) of the GPL.


A shame really,
libsupc++.a regularly causes problems for synth, so being able to get
rid of this dependancy would be good.

Copy the relevant subset of source files from GCC's libsupc++ into the synth HAL (probably in a subdir), build it into its own library (compile -library=libsupc++-ecos.a .... ?) and use that instead of libsupc++ in the linker script. The synth HAL can use CDL requires on CYGBLD_HAL_LINKER_GROUPED_LIBS_DEFAULT to do this (a newly added option, part of a contribution by eCosCentric :-)).


It's probably safer in its own library due to its slightly different GPL exception wording at the top.

Jifl
--
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------      Opinions==mine

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]