Hi all,<br><br>I&#39;m working with a Virtex2p. I have a running system using:<br><ul><li>EDK 9.1<br></li><li>Crosstool-ng (svn)</li><li>linux-2.6-xlnx</li><li>BusyBox 1.12.1</li></ul>Now, i&#39;m trying to build a small program that turn off leds. I guess it should be something like this:<br>
<br><div style="margin-left: 40px;">void main (void){<br>&nbsp;&nbsp;&nbsp; XGpio led;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; XGpio_Initialize (&amp;led, XPAR_LEDS_4BIT_DEVICE_ID);<br>&nbsp;&nbsp;&nbsp; XGpio_SetDataDirection(&amp;led,1,0);<br>&nbsp;&nbsp;&nbsp; XGpio_DiscreteWrite(&amp;led,1,0xf);&nbsp;&nbsp;&nbsp; <br>
}<br><br></div><br>I want to know how to compile it (without EDK). Any suggestion? <br><br><br>Thanks,<br>Bruno Monteiro <br><br>