I suggest looking at what the Silabs IDE generates to invoke SDCC as a starting 
place for the 8051, since it is working fine under that environment, and I have 
a multi-file project compiling and linking.

I will try to capture that this week end and post it.

Didier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kustaa Nyholm
Sent: Friday, August 29, 2008 3:03 PM
To: [email protected]
Subject: Re: [Sdcc-user] Virus in SDCC-2.8.0-setup.exe - MD5 etc tutorial

Richard et al,


on my web page at:

http://www.sparetimelabs.com => select "Fun with HC08" from the navigation on 
the left.

there is complete example on how to compile a single file and a multifile 
project using SDCC from the command line and how to integrate that with Eclipse 
IDE.

This should get anyone going in no time at all.

While my page targets HC08 the other CPUs are rather similar.

As can be seen from the examples using SDCC is very simple, hardly needing more 
than a few examples, after all it is just a C compiler. The only difficulty is 
figuring out the right parameters and there we could do with some more 
explanatory text and examples, like I was unable to find an example of a multi 
file compile and link procedure. That sort of thing would be helpfull for the 
uninitiated.

Of course, knowledge of the target CPU and its architecture is necessary and 
that is a completely different story in terms of complexity. But that is not a 
SDCC issue.

just my 2 snt worth.

br Kusti


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to