--- On Mon, 12/24/12, Raphael Neider <rneider@web.de> wrote:

From: Raphael Neider <rneider@web.de>
Subject: Re: [Sdcc-user] cygwin??
To: sdcc-user@lists.sourceforge.net
Date: Monday, December 24, 2012, 8:11 PM

Hi iTronix,
 
sdcpp.exe: fatal error: when writing output to : No error
at 1: warning 119: don't know what to do with file 'DB'. file extension unsupported
at 1: warning 119: don't know what to do with file 'OE'. file extension unsupported
at 1: warning 119: don't know what to do with file 'QUIET'. file extension unsupported
at 1: warning 119: don't know what to do with file 'INTXD'. file extension unsupported
at 1: warning 119: don't know what to do with file 'OT(6,Speed)'. file extension unsupported
at 1: warning 119: don't know what to do with file 'PIN(C:\SiLabs\MCU\Inc;C:\Program'. file extension unsupported
at 1: warning 119: don't know what to do with file 'Files'. file extension unsupported
at 1: warning 119: don't know what to do with file '(x86)\SDCC\inc;C:\Program'. file extension unsupported
at 1: warning 119: don't know what to do with file 'Files'. file extension unsupported
at 1: warning 119: don't know what to do with file '(x86)\SDCC\inc\51)'. file extension unsupported

This looks weird -- symbols from the C source / .asm output interpreted as filenames? Might be due to some problems with pipes between preprocessor, compiler, assembler, and linker in cygwin. If I remember correctly, this at one time was indeed a problem -- unfortunately I do not remember the solution (or workaround). You might try searching the mailing list archive or the web for "pipe cygwin" and your Windows version (XP?).

Could you post Windows version, exact command line, command line and output with -V (capital Vee) added? If you pass complete filenames, you might need to quote them ("Program Files (x86)" is otherwise treated as three files ...).
Sorry, I have no clue as to how to do this with Silabs IDE. Could you run sdcc from the command line / cygwin shell directly and report the results?
 
c8051f300.h:15: syntax error: token -> 'P0' ; column 6
Link in progress...
C:\Program Files (x86)\SDCC\bin\sdcc.exe @"C:\Users\Don\Documents\iTech\DTMF Project\DTMF SDCC Code\generator\cyglink.txt"
 
at 1: warning 119: don't know what to do with file '@C:\Users\Don\Documents\iTech\DTMF Project\DTMF SDCC Code\generator\cyglink.txt'. file extension unsupported

The leading "@" confuses me. Maybe the above hints help to sort this out as well ... What's the contents of cyglink.txt? Is this file generated by the IDE or hand-written?

Kind regards and Merry Christmas,
Raphael

========================

Hello,

(Note, this question probably should have been directed to the Silabs forums.)

This is the first time I've heard of people using Silicon Labs IDE with sdcc, so I downloaded and installed the Silabs IDE program, in Win XP.  The default toolchain settings calls Ride, using these commands:

DB OE QUIET INTXD OT(6,Speed) PIN(C:\SiLabs\MCU\Inc;C:\RIDE\inc;C:\RIDE\inc\51)

sdcpp doesn't know what to do with these commands, since they are targeted for rc51.

In Silabs IDE, click on Project, Tool Chain Integration, then select the drop box down arrow under Tool Definition Presets, and select SDCC 3.xx.  Then browse to find where SDCC is installed.

Hope this helps!

Rich.

-----Inline Attachment Follows-----

_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user