[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::visual

Title:Microsoft Visual C++ bug reports and kits
Notice:Register in Topic 2. 5.Last for latest Kit
Moderator:DECWET::THOMASN
Created:Tue May 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:521
Total number of notes:2938

461.0. "Linker and machine:i386" by 8153::tecotoo.mro.dec.com::mayer (Danny Mayer) Wed Feb 12 1997 11:33

	Is there any particular reason why the Developer Studio creates .mak
  files with a /machine:I386 flag in the linker?  I find this irritating to
  say the least, particularly when you take the files to be rebuilt on Alpha.

		Danny
T.RTitleUserPersonal
Name
DateLines
461.1DECWET::THOMASBug-for-bug compatible with IntelWed Feb 12 1997 19:0914
    Danny,
    
    Perhaps because Microsoft is Intel-centric?
    
    It's probably in case the linker ever has the capability to link for
    non-native architectures.
    
    Taking the workspace to the Alpha and creating new (Alpha)
    configurations should put the correct flag in the Alpha portions of the
    .MAK file.
    
    If not, please let us know.
    
    	Mike
461.2TURRIS::lspace.zko.dec.com::winalskiPLIT Happens...Wed Feb 12 1997 21:065
The Linker *does* have the capability to link for non-native 
architectures.  You can develop Apple Macintosh PowerPC apps on 
Intel.

--PSW
461.38153::tecotoo.mro.dec.com::mayerDanny MayerThu Feb 13 1997 09:494
	I manually deleted the flag out of all the .mak files and it still
  built okay on Intel.  I guess I can just move the code.

		Danny
461.48153::tecotoo.mro.dec.com::mayerDanny MayerFri Feb 14 1997 10:417
	Is there somewhere in Developer Studio that I can turn OFF the flag
  so it doesn't generate it in the .mak file?  I had to add some files to
  the project and found that it had added the flag back in.  I DON'T want to
  have to run Developer Studio when I go to the Alpha, I just want to run
  the .mak file.

		Danny
461.5NoDECWET::PETERSONWed Mar 05 1997 18:161
    no
461.6TECO::tecotoo.mro.dec.com::mayerDanny MayerFri Mar 07 1997 13:135
	Well that was short!  That means I go in and edit the mak file to
  remove the flag.  I don't think it should be a required flag, it should
  default to the hardware you're on.

		Danny