> Michael,
>
> Thanks for the quick reply.
>
> I did change the section placement file, a bit, to tweak it towards my
> needs. I attached it if you can give it a quick look.
>
> I do not quite understand what you mean by saving it twice... What is
> the section .fast_run used for in this case?
>
> Thanks,
>
> m.
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> *From:* Michael Johnson [mailto:mpj@...]
> *Sent:* Monday, February 14, 2005 11:14 AM
> *To:* lpc2000@yahoogroups.com
> *Subject:* Re: [lpc2000] C++ and CrossWorks for ARM
>
>
>
> Hi Milos,
>
> Did you modify the section_placement file - there's a howler of a bug
> (one of mine) that requires the section placement editor to save twice
> to maintain the section order.
>
> Regards
> Michael
>
>>Hi Michael,
>>
>>Thanks. I think I should be able to get away without the missing
> components.
>>
>>
>>I'm getting now the following message from the linker:
>>
>>"cyclic memory section dependency with section .fast_run ". I have
> declared
>>2 classes where one is inherited.
>>
>>Thanks a million,
>>
>>Cheers,
>>
>>m.
>>
>>
>>
>> _____
>>
>>From: Michael Johnson [mailto:mpj@...]
>>Sent: Monday, February 14, 2005 2:06 AM
>>To: lpc2000@yahoogroups.com
>>Subject: Re: [lpc2000] C++ and CrossWorks for ARM
>>
>>
>>
>>Hi Milos,
>>
>>It should just work - note that CrossWorks for ARM currently doesn't
>>support full C++. There are no exceptions, rtti, iostreams or STL as
>>yet. Which symbols are you missing?
>>
>>Regards
>>Michael
>>
>>
>>
>>>Hi,
>>>
>>>I'm working on this project and I'm using CW for ARM. I'm at the stage
>>>
>>>
>>where
>>
>>
>>>I have to implement more advanced concepts than drivers. I would like
> to do
>>>some of them in C++, but I'm having some problems getting the code to
> link.
>>>I would assume it's due to some missing labels/definitions. (I do see
> that
>>>.ctors / .dtors exist in the memory placement file).
>>>
>>>I was just wondering if someone has been using C++ with CW and has a
>>>"precooked" way of getting programs to link/compile.
>>>
>>>Thanks in advance,
>>>
>>>m.
>>>
>>>
>>>
>>>
>>>
>>>[Non-text portions of this message have been removed]
>>>
>>>
>>>
>>>
>>>Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>Yahoo! Groups Sponsor
>>
>>
>>
>>ADVERTISEMENT
>>
>><http://us.ard.yahoo.com/SIG=129o48en4/M=298184.6018725.7038619.3001176/D=gr
>>oups/S=1706554205:HM/EXP=1108451352/A=2532114/R=2/SIG=12kvoeu4u/*http:/clk.a
>>tdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=1108364952635685>
>>
>>
>><http://view.atdmt.com/NFX/view/yhxxxnfx0020000014nfx/direct/01/&time=110836
> <http://view.atdmt.com/NFX/view/yhxxxnfx0020000014nfx/direct/01/&time=110836>
>>4952635685>
>>
>>
>>
>><http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
>>:HM/A=2532114/rand=294183853>
>>
>>
>>
>> _____
>>
>>Yahoo! Groups Links
>>
>>* To visit your group on the web, go to:
>>http://groups.yahoo.com/group/lpc2000/
>>
>>* To unsubscribe from this group, send an email to:
>>lpc2000-unsubscribe@yahoogroups.com
>><mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>>
>>* Your use of Yahoo! Groups is subject to the Yahoo!
>><http://docs.yahoo.com/info/terms/> Terms of Service.
>>
>>
>>
>>[Non-text portions of this message have been removed]
>>
>>
>>
>>
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
> *Yahoo! Groups Sponsor*
>
> ADVERTISEMENT
>
>
>
> ------------------------------------------------------------------------
>
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/lpc2000/
>
> * To unsubscribe from this group, send an email to:
> lpc2000-unsubscribe@yahoogroups.com
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
>------------------------------------------------------------------------
>
><!DOCTYPE Linker_Placement_File>
><Root name="Flash Section Placement" >
> <MemorySegment name="Internal SRAM;SRAM;SDRAM;DRAM" >
> <ProgramSection size="0x3C" load="No" name=".vectors_ram" />
> <ProgramSection alignment="4" load="No" name=".fast_run" />
> </MemorySegment>
> <MemorySegment name="FLASH" >
> <ProgramSection load="Yes" inputsections="*(.vectors .vectors.*)" name=".vectors" />
> <ProgramSection alignment="4" load="Yes" inputsections="*(.init .init.*)" name=".init" />
> <ProgramSection alignment="4" load="No" name=".text_load" />
> <ProgramSection alignment="4" load="Yes" inputsections="*(.text .text.* .glue_7t .glue_7 .gnu.linkonce.t.*)" name=".text" />
> <ProgramSection alignment="4" load="Yes" inputsections="KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors))" name=".dtors" />
> <ProgramSection alignment="4" load="Yes" inputsections="KEEP (*(SORT(.ctors.*))) KEEP (*(.ctors))" name=".ctors" />
> <ProgramSection alignment="4" load="Yes" inputsections="*(.rodata .rodata.* .gnu.linkonce.r.*)" name=".rodata" />
> <ProgramSection alignment="4" load="Yes" runin=".fast_run" inputsections="*(.fast .fast.*)" name=".fast" />
> <ProgramSection alignment="4" load="Yes" runin=".data_run" inputsections="*(.data .data.* .gnu.linkonce.d.*)" name=".data" />
> </MemorySegment>
> <MemorySegment name="External SRAM;SRAM;SDRAM;DRAM" >
> <ProgramSection alignment="4" load="No" name=".data_run" />
> <ProgramSection alignment="4" load="No" inputsections="*(.bss .bss.* .gnu.linkonce.b.*) *(COMMON)" name=".bss" />
> <ProgramSection alignment="4" size="0x4" load="No" name=".heap" />
> <ProgramSection alignment="4" size="0x800" load="No" name=".stack" />
> <ProgramSection alignment="4" size="0x400" load="No" name=".stack_irq" />
> <ProgramSection alignment="4" size="0x400" load="No" name=".stack_svc" />
> <ProgramSection alignment="4" size="0x4" load="No" name=".stack_fiq" />
> <ProgramSection alignment="4" size="0x4" load="No" name=".stack_abt" />
> <ProgramSection alignment="4" size="0x4" load="No" name=".stack_und" />
> </MemorySegment>
></Root>
>