replace linker in VS2005??
- From: "Joey Oravec" <joravec@xxxxxxxxxxxx>
- Date: Tue, 03 May 2005 02:15:55 GMT
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
.
- Follow-Ups:
- Re: replace linker in VS2005??
- From: BobF
- Re: replace linker in VS2005??
- Prev by Date: Button not running code
- Next by Date: Re: replace linker in VS2005??
- Previous by thread: Button not running code
- Next by thread: Re: replace linker in VS2005??
- Index(es):
Relevant Pages
|