ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Using VC++ compiler with MQSeries

Post new topic  Reply to topic
 Using VC++ compiler with MQSeries « View previous topic :: View next topic » 
Author Message
laddha
PostPosted: Wed Apr 23, 2003 8:02 pm    Post subject: Using VC++ compiler with MQSeries Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 24, 2003 6:16 am    Post subject: Reply with quote

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
View user's profile Send private message
HrothgarV
PostPosted: Thu Apr 24, 2003 6:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Using VC++ compiler with MQSeries
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.