Monday, September 6, 2010

Re: external compiler output into window/buffer/quickfix from vim

[...]
> To fix this, first of all I would put all the compiler options into
> 'makeprg' and set 'makeprg' once rather than each time you compile.
>
>    :set makeprg=vcom\ -work\ work\ -2002\ -explicit\ %
>
> Then to compile your file, just execute
>
>    :make
>
> or if you want to just hit <F9>, map <F9> like this:
>
>    :map <F9> :make<CR>
>
[...]
>
> HTH,
> Gary
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

Thanks Gary,

Yes this has helped me a lot.
The compiling works now.
However, I don't get the compiler output in a
buffer/window/quickfixlist below into vim
I now get the following info:
+----+
:vcom ....... .vhd > C:\Doc....Temp\.tmp 2>&1
shell returned 5
(1of 3): Model Technology ... com 6.5b Compiler .....
Press ENTER or type command to continue
+----+
The last line is ofcourse from gvim itself.

How do I get the output from my compiler listed into vim itself?
So that I see more lines then just the first?
For example like this output:
# Model Technology ModelSim ALTERA vcom 6.5b Compiler 2009.10 Oct 1 2009
# -- Loading package standard
# -- Loading package textio
# -- Loading package std_logic_1164
[...]
# -- Compiling entity cntrlio_module
# -- Compiling architecture rtl of cntrlio_module
# -- Compiling entity iic_state
# -- Compiling architecture a0 of iic_state
# -- Compiling entity iic_in
# -- Compiling architecture a0 of iic_in
# -- Compiling entity iic_bundle
# -- Compiling architecture a0 of iic_bundle
# -- Compiling entity iic_sync
# -- Compiling architecture a0 of iic_sync
# -- Compiling entity cntrl_module
# -- Compiling architecture structure of cntrl_module
# -- Compiling entity iic_slave_pa_a0
# -- Compiling architecture a0 of iic_slave_pa_a0

Rgds,
Jeri

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment