replace linker in VS2005??

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi --

For embedded development, I'd like to use Visual Studio as the IDE. By
replacing the compiler and linker with a third-party cross-compiler, I could
still use the VS IDE as my build environment.

Using a Custom Build Rule file, it's pretty easy to replace the compiler.
Just make a rule for *.c and define all the compiler's options with User
Defined Properties. Visual Studio pops up a warning box for this custom
build rule because it overrides the VS compiler's rules.

The problem is the linker stage. I tried making a rule for *.o but it didn't
run. Apparantly the *.o doesn't work in the same magic way as *.c

I've read online that any files for Custom Build Rules must appear in the
project, and some people recommend adding a dummy object file for every c
file. That seems kind of cheesy. Any other ideas? Thanks.

-joey


.



Relevant Pages

  • Re: mex multithread problem?
    ... Visual Studio 2008 compiler, below is message: ... Microsoft Incremental Linker Version 9.00.21022.08 ... Copyright Microsoft Corporation. ... The deffault location of windows platform SDK of Visual Studio 2008 isdifferent from Visual Studio 2005. ...
    (comp.soft-sys.matlab)
  • Re: Tutorial for new user?
    ... >I just got my hands on Visual Studio and I want to dive right into Visual ... compiler and IDE. ... There is an online book that is often recommended, ...
    (comp.lang.cpp)
  • VS .NET change Compiler and Linker
    ... i have a problem with Visual Studio .Net 2003. ... in VS 5.0 it was possible to change the Compiler and Linker with 2 settings ... in the windows registry: ...
    (microsoft.public.dotnet.general)
  • Re: reborn ?
    ... Linux is therefore an IDE. ... It includes not just one editor but ... many, a compiler, a linker, a debugger, ...
    (comp.lang.c)
  • Re: Conditioned compilation
    ... Compiler then compile with this definition. ... This solution has one disadvantage (or it is bug in MS Visual Studio 2005) ... IDE don?t display it correctly ... if you go into a cmd shell and type: ...
    (microsoft.public.vc.language)