avr-gcc a debug informace

MK info@mcu.cz
Úterý Únor 14 12:14:44 CET 2006


>V manualu k MAKE (bohuzel) neni napsano, co mam zmenit. Mozna se budete
> divit, ale cetl jsem ho, kdyz jse si svuj makefile upravoval z
> puvodniho, ktery byl dodany s nejakym prikladem... Proto se ptam Vas, co
> je spatne, kdyz uz jste na ten jeden radek z makefile nejak reagoval.
>
> Jedna vec je, ze vidim, ze je druhy 'blby' a reknu mu, ze je 'blby',
> druha vec je, ze mu reknu, v cem je 'blby'. Jenze Vy se radsi tesite z
> toho, ze ten druhy bude 'blby' az do konce, protoze nevi, co jste mel na
> mysli...

Vazeny, s prominutim jsem nereagoval ne na "jeden radek z make souboru", ale 
na to jak "chytre" mate includovane zdrojaky a na to konto jsem si dovolil 
premisu, ze jste to takhle udelal proto, ze neumite make - coz se nakonec 
potvrdilo.

Opravdu mi je srdecne jedno, zda zustanete ...... az do konce. Dostal jste 
tu pomerne hodne rad a odkazu, kde se neco priucit. Pokud chcete hotove 
reseni, tak si o nej napiste. Ale ja Vam opravdu nebudu psat kde a co mate 
zmenit v make souboru. To by jste se mel naucit sam, nebo pouzit zminovane 
AVRstudio, ci jine IDE, ktere dokaze zakladni make soubor generovat 
automaticky z projektu

Ale dobre v priloze mate makefile z jednoho projektu, kde jsou celkem 4 c 
soubory (minitwice je ten s main) a obsahuje dve sekce s code. A nechtejte 
po mne ho upravit na Vas projekt.

S pozdravem
MK


begin 666 Makefile.dat
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(PT*(R!-86ME9FEL
M92!F;W(@=&AE('!R;VIE8W0@;6EN:51724-%#0HC(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C#0H-"B,C($=E;F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FID=6UP("UH("U3("0\(#X@)$ -"@T*<VEZ93H@
M)'M405)'151]#0H)0&5C:&\-"@E <V@@879R+6UE;2YS:" D>U1!4D=%5'T@
M)'M-0U5]#0H-"B,C($-L96%N('1A<F=E= T*+E!(3TY9.B!C;&5A;@T*8VQE
M86XZ#0H)+7)M("UR9B D*$]"2D5#5%,I(&UI;FE45TE#12YE;&8@9&5P+R!M
M:6YI5%=)0T4N:&5X(&UI;FE45TE#12YE97 @;6EN:51724-%+FQS<R!M:6YI
M5%=)0T4N;6%P#0H-"@T*(R,@3W1H97(@9&5P96YD96YC:65S#0HM:6YC;'5D
M92 D*'-H96QL(&UK9&ER(&1E<" R/B]D978O;G5L;"D@)"AW:6QD8V%R9"!D
)97 O*BD-"@T*
`
end




Další informace o konferenci Hw-list