<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Jsem si 100% jisty ze to bud gcc vyhodi nebo bude
treba pricitat </FONT></DIV>
<DIV><FONT face=Arial size=2>po 10 ci po 100 </FONT><FONT face=Arial size=2>a na
konci priradi t </FONT><FONT face=Arial size=2>na tohle je pri optimalizaci
</FONT></DIV>
<DIV><FONT face=Arial size=2>expert ;-). Musi se na to davat
bacha. </FONT><FONT face=Arial size=2>Pripadne zakazat </FONT><FONT
face=Arial size=2>optimalizaci, </FONT></DIV>
<DIV><FONT face=Arial size=2>nicmene za nektere jeho optimalizacni napady
by </FONT><FONT face=Arial size=2>se nemusel stydet </FONT></DIV>
<DIV><FONT face=Arial size=2>ani zaryty assemblerysta optimalizator ;-)))
</FONT><FONT face=Arial size=2>Nebo staci do smycky </FONT></DIV>
<DIV><FONT face=Arial size=2>pridat nop a uz si to nedovoli, ale takhle mu to
prijde zbytecny </FONT><FONT face=Arial size=2>kod.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Zdenek Aster</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=stano.hw@gmail.com href="mailto:stano.hw@gmail.com">Stano Kozinka</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=hw-list@list.hw.cz
href="mailto:hw-list@list.hw.cz">hw-list@list.hw.cz</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, June 10, 2007 12:33
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> ARM GCC problem</DIV>
<DIV><BR></DIV><PRE>Zdravim,<BR>zacinam s ARM a GCC a narazil som na jeden problem. Ked som skusal debugovat, vzdy ked pridem na cyklus FOR debugger sa zasekne a pomoze az opatovne spustenie openOCD a arm-elg-gdb. Ked kod napalim gunguje ako ma aspon zda sa. Ked dam za for breakpoint, dam RUN a takto ho preskocim da sa v debugu pokracovat. Takisto mi je zahadou preco sa v primitivnej cakacej gunkcii
<BR><BR>delay(uint_32_t t){<BR> for(volatile uint32_t n; n < t, n++);<BR> }<BR><BR>musi pouzut VOLATILE, okrem main() ju nikde nepouzivam. Skusal som vlastny kod, takisto aj priklady z tutorialu "Using Open Source Tools for AT91SAM7S Cross Development revision
2.pdf" problem bol vzdy ten isty. JTAG pouzivem FT2232, GCC a utility z balika WinARM 20070505, procesor AT91SAM7S... Prosim podarte aspon kde hladat problem, ja uz vazne netusim.<BR><BR>Stano<BR></PRE>
<P>
<HR>
<P></P>_______________________________________________<BR>HW-list mailing
list - sponsored by
www.HW.cz<BR>Hw-list@list.hw.cz<BR>http://list.hw.cz/mailman/listinfo/hw-list<BR></BLOCKQUOTE></BODY></HTML>