Search Results

Search: Posts Made By: Pug
2,231
Posted By Pug
Thank you both. Well, regarding the...
Thank you both.

Well, regarding the compiler... the C/C++ compiler from IBM is extremely expensive if I recall correctly. GCC works well on all the other platforms so I am hoping I can figure...
2,231
Posted By Pug
AIX runtime programming issue
I hope my title is accurate enough.

I have a product that we port to various UNIX platforms. It is known to run on AIX but using the IBM compiler from years ago. Recently we got a different used...
Forum: Programming 07-31-2015
3,370
Posted By Pug
GCC Alignment pragma
Quick question for the community of GCC programmers.

I have code that uses:

#pragma align 4

(as an example).

Now this code has compiled for many years on a few different platforms and...
Forum: Programming 03-26-2015
3,063
Posted By Pug
I will need to find a different approach to this....
I will need to find a different approach to this.
Thanks for your help. I appreciate it.
Forum: Programming 03-25-2015
3,063
Posted By Pug
I see. So you are saying that the function is...
I see. So you are saying that the function is supposed to work that way.
Only the owner of the file or a superuser can change it.
So in my case it can't be done.

Is there a setting I can apply...
Forum: Programming 03-25-2015
3,063
Posted By Pug
File date/time modification and permissions
First, oh great Unix gurus, forgive if this is a stupid question.

Unix/Linux is not my main thing but I have been programming in C/C++ for many years. I will do my best to be specific.

I have...
1,508
Posted By Pug
Thank you. I will try these suggestions the next...
Thank you. I will try these suggestions the next chance I have.

I appreciate the help.
1,508
Posted By Pug
Thank you, but I am not so sure. I am...
Thank you, but I am not so sure.

I am looking for model info like for example:

- on AIX something like: IBM P520 Power-6
- SPARC something like: Sun Fire T2000
- on HP/UX something like:...
1,508
Posted By Pug
Finding the hardware model name remotely
First, forgive me if this is a stupid questions that I should have asked in the non-expert forum. It seems like a hard questions to me.

Is there a way to find the hardware model name from the...
Forum: Solaris 09-19-2012
6,590
Posted By Pug
Thank you again for all those answers. Sorry I...
Thank you again for all those answers. Sorry I was not able to reply sooner.

To answers your questions:

Regarding the compiler and optimizations, I am not sure what settings we were using...
Forum: Solaris 09-10-2012
6,590
Posted By Pug
Again, thank you for your responses. So...
Again, thank you for your responses.

So please let me clarify a few points to be sure.

1. 'hergp' is saying that if the issue is that they are using a T1 T2 type multi core SPARC than the...
Forum: Solaris 09-08-2012
6,590
Posted By Pug
Thank you both for your insight. The...
Thank you both for your insight.

The program is a single threaded type of process. It has to be that way.
However, we will try arranging to run the executable in parallel if possible.

If I...
Forum: Solaris 09-07-2012
6,590
Posted By Pug
Solaris SPARC speed issue
Hello helpful Unix gurus!

First, I appreciate any help I can get.

I have a product that we have ported (for years now) on Solaris SPARC 7.x OS from 1998 (or around that time I guess) that is...
1,956
Posted By Pug
Thank you
Thank you. That helps me getting going in the right direction.
1,956
Posted By Pug
Getting machine info in C
I need to find a way to query the OS (on Linux or Unix) to get details about the host machines processor type and the primary hard drive serial number. Is this possible?

Thank you for any Guru...
Forum: Programming 10-04-2010
8,147
Posted By Pug
Thank you for your help. I did what you did,...
Thank you for your help.

I did what you did, but on my platform. I did ldd libsocket.so to see the list in my context. It was different but I continued.

I tried what you said and linked with
...
Forum: Programming 09-28-2010
8,147
Posted By Pug
Hi, I had a chance to continue with this project....
Hi, I had a chance to continue with this project. But I did not have much luck. In case someone has any more advice here is what I found.

On AIX I have a ifreq struct like this:
struct ifreq {...
Forum: Programming 09-17-2010
8,147
Posted By Pug
Thank you both for answering my question. I had...
Thank you both for answering my question. I had to be taken off of this project for a while and now I am back, and able to see what I can do based on your suggestions.

Thanks again for your help.
Forum: Programming 09-13-2010
8,147
Posted By Pug
How do I find the MAC address in C on different UNIX platforms?
I need to find the MAC address of the ethernet cards on the host machine from the C language. I have found a way to do this on Linux using socket(), ioctl() and the ifreq structure. But this does not...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 04:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy