|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Using VC++ compiler with MQSeries |
« View previous topic :: View next topic » |
Author |
Message
|
laddha |
Posted: Wed Apr 23, 2003 8:02 pm Post subject: Using VC++ compiler with MQSeries |
|
|
 Apprentice
Joined: 20 Mar 2003 Posts: 27
|
Hi All,
Is it possible to write a PUT program in VC++ and compile it inside VC++, After that create an EXE, Then copy that EXE in Unix where MQSeries is present, Will that EXE run in Unix successfully?
I think I need to rebuild in Unix whole code with Unix based compiler.
Please clear my doubt on this ASAP.
Thanks,
Prasanna |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 24, 2003 6:16 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, you need to compile your code on Unix. Windows programs have completely different formats, and use completely different commands when talking to the processor than Unix programs.
This doesn't mean you can't find a compiler that will run on Windows and let you compile for Unix. I don't know of any off hand, though, and Visual C++ is not one. |
|
Back to top |
|
 |
HrothgarV |
Posted: Thu Apr 24, 2003 6:37 am Post subject: |
|
|
Novice
Joined: 07 Apr 2003 Posts: 17
|
i don't think the executable you've created when you compiled your code in windows will run in a unix environment...
to play safe, make your code ansi-c compliant, compile and test it in windows, copy the code to unix and simply re-compile. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|