|
Message
From: Dimitri?s Orfanos<sirtimid@g...>
Date: Thu Nov 29 10:01:40 CET 2007
Subject: [openrisc] What is the DYNAMIC_EXECUTION , COMPLEX_EXECUTION,
and SIMPLE_EXECUTION?
OK, I used the crt0.S and the proc.c that is included in the newlib to create a standalone without lib support, but I think that the library offers support for basic operations like the multiplication. When I wrote the classical factorial program it told me to include the function __mulsi3. So, it will depend on the program to modify or not the standard compilation/linking process.
Thanks for the answer.
Mark wrote: > Dimitrios Orfanos wrote: >> Hi, >> I want to run my program on the simulator, so I need start file but I >> don't need every time the whole lib. I've tried what you said but I >> took memory error from the simulator. I think that I need some >> guidance on how to write my own start file. I use Mark's elf >> toolchain and I want to run my programs on the simulator. >> DO > > Something roughly like the hello-uart example > (http://www.opencores.org/cvsweb.shtml/or1k/hello-uart/) should work > (I think), though you'll have to modify the Makefile to include > "-nostartfiles -nostdlib". > _______________________________________________ > http://www.opencores.org/mailman/listinfo/openrisc >
|
 |