[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio

From: d x
Subject: RE: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio
Date: Tue, 26 Jul 2005 12:40:57 +0800

Thanks for the reply. I put following in my makefile, but it not work! I am new for makefile, Can someone gives me working example for makefile, Thanks a lot!

# Compile: create object files from C source files.
%.o : %.c
       @echo $(MSG_COMPILING) $<
@echo "$(CC) -c $(ALL_CFLAGS) $< -o $@ 2>'errors.txt'" sed "s/c:\([0-9]*\)/c(\1)/" errors.txt

From: "Ben Mann" <address@hidden>


Please check the archives, this was discussed recently:
and describes a sed script you add to your makefile.

And thanks Ron!


-----Original Message-----
Subject: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio

Compiler Error Output
-- Visual C++ can interpret compiler error output if it is formatted
correctly. The format must be:
full_path_and_filename(line number) : errortext
c:\code\windows\bootterm\serialinterface.h(4) : fatal error C1083

If AVR-GCC compiler error output is formatted this way, Visual C++ will
jump to the file and location of the error upon double-clicking the error
as listed in the output.

How to make this? Please

AVR-GCC-list mailing list

与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]