Giter Site home page Giter Site logo

gcc2vs's People

Contributors

jwt27 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

gcc2vs's Issues

VS still doesn't consider errors as errors

Hi,

I made this tool work with our build system, and there's still one problem left. In the output window it shows errors properly, and VS opens a correct file/line when clicked. But there's "error list" window in VS as well, and for some reason those errors don't propagate there. I see only one build error like below. Without error list some keyboard shortcuts (next/prev error for example) don't work properly.

Error cd ~/projects/linux_test;./a.sh 2>&1|MSVC_DIR='c:\Users\dixon\Documents\Visual Studio 2017\Projects\linux_test\linux_test' gcc2vs exited with code 1, please see the Output Window - Build output for more details (NOTE: the build output verbosity might need to be changed in Tools Options to see more information in the Output Window). linux_test C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Application Type\Linux\1.0\Linux.Makefile.Targets 135

libgcc_2_seh-1.dll

I get the error
"/cygdrive/c/gcc2vs/gcc2vs.exe: error while loading shared libraries: libgcc_s_seh-1.dll: cannot open shared object file: No such file or directory"

Since we are building for NIOS II, we use cygwin build scripts.

I downloaded the dll (I hope), put it in the same folder as this .exe, and it stopped complaining! The only problem being that I no longer see the errors, as if gcc2vs is filtering them out.

This is what I have put in our build scripts.
%.o: %.c
@$(ECHO) Compiling $(<F)...
$(CC) -xc -MP -MD -MMD -c -pipe -O0 -g -Wall -mhw-div -mhw-mul -mno-hw-mulx $(CFLAGS) $(ALT_CFLAGS) $(CFLAGS) -o $@ $^ 2>&1 | gcc2vs

Am I doing this completely wrong? Does your program only work if I use the visual studio makefile system?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.