Author |
Message
|
pcelari |
Posted: Wed Sep 27, 2006 7:18 am Post subject: anyone compiled mq c program with gcc on Solaris? |
|
|
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 |
|
 |
LuisFer |
Posted: Wed Sep 27, 2006 8:31 am Post subject: Re: anyone compiled mq c program with gcc on Solaris? |
|
|
 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 |
|
 |
Nigelg |
Posted: Wed Sep 27, 2006 8:44 am Post subject: |
|
|
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 |
|
 |
markt |
Posted: Wed Sep 27, 2006 8:54 am Post subject: |
|
|
 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 |
|
 |
pcelari |
Posted: Thu Sep 28, 2006 5:23 am Post subject: |
|
|
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 |
|
 |
|