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 » General IBM MQ Support » anyone compiled mq c program with gcc on Solaris?

Post new topic  Reply to topic
 anyone compiled mq c program with gcc on Solaris? « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Wed Sep 27, 2006 7:18 am    Post subject: anyone compiled mq c program with gcc on Solaris? Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Has anyone had any luck in compiling MQ C program on Solaris with the gcc compiler?
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
LuisFer
PostPosted: Wed Sep 27, 2006 8:31 am    Post subject: Re: anyone compiled mq c program with gcc on Solaris? Reply with quote

Partisan

Joined: 17 Aug 2002
Posts: 302

pcelari wrote:
Has anyone had any luck in compiling MQ C program on Solaris with the gcc compiler?

Code:
gcc -o o.out -lmqic source.c
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Sep 27, 2006 8:44 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

It doesn't work, you have to use cc on Solaris.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
markt
PostPosted: Wed Sep 27, 2006 8:54 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

It works fine.
It might not be supported...
All C compilers agree on the ABI for linking libraries.

C++ is a different issue however - you can only use the listed C++ compilers.
Back to top
View user's profile Send private message
pcelari
PostPosted: Thu Sep 28, 2006 5:23 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

thanks a lot. Yes, it works great, and first of all, it's free.

markt wrote:
It works fine.
It might not be supported...
All C compilers agree on the ABI for linking libraries.



just curious, what is "ABI" ?
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
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 » General IBM MQ Support » anyone compiled mq c program with gcc on Solaris?
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.