EmbDev.net

Forum: ARM programming with GCC/GNU tools Any good C Source formatting tools??


Author: Mh Tay (lpc2103)
Posted on:

Rate this post
0 useful
not useful
Hi,
I'm looking for some good free C-Source formatting
tools (cleanup all the brace positions, layout of
switch-case, indentation) to work with this WinARM
package.   Any recommendation??
Regards

Author: Andreas Schwarz (andreas) (Admin) Flattr this
Posted on:

Rate this post
0 useful
not useful
Try "indent", it's part of every unix distribution:
http://directory.fsf.org/GNU/indent.htm

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 useful
not useful
Andreas S. wrote:
> Try "indent", it's part of every unix distribution:
> http://directory.fsf.org/GNU/indent.htm

Native Win32 binaries for indent are availabe at these:

http://unxutils.sourceforge.net/
http://gnuwin32.sourceforge.net/packages.html

Clifford

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 useful
not useful
Note also that indent is not intended for use on C++. Try looking at
bcpp for that.

A Win32 version of bcpp is available at
http://www.literateprogramming.com/fdownload.html

Clifford

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.