I have the same problem here.   This problem shows with the most 
recent preprocessor update fron April 28, 2009.  Try installing a 
previous version of SDCC.

At 04:46 PM 02/05/2009, you wrote:

>I feel like an idiot... I installed SDCC via the windows EXE installer
>today and I am going through the manual (which seems for an older
>version, btw). it says to first make sure that sdcc can be found by
>using the --version argument. That works fine. But, the next step is to
>try to make it compile something by typing in a small program that is :
>
>char test;
>void main(void) {
>test=0;
>}
>
>I did that and saved it as test.c and typed "sdcc -c test.c" without
>quotes, of coarse. Then windows complained that sdcpp has encountered a
>problem yada yada yada. Then, in my command window, the compiler
>complained that it couldn't compile an empty file.
>
>I have tried searching for a solution to this but my searches proved
>fruitless. Any idea what I am doing wrong? Is the test program getting
>optimized away?
>
>Thanks,
>Kevin
>
>
>------------------------------------------------------------------------------
>Register Now & Save for Velocity, the Web Performance & Operations
>Conference from O'Reilly Media. Velocity features a full day of
>expert-led, hands-on workshops and two days of sessions from industry
>leaders in dedicated Performance & Operations tracks. Use code vel09scf
>and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>_______________________________________________
>Sdcc-user mailing list
>Sdcc-user@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/sdcc-user


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to