Search Results

Search: Posts Made By: BrighterLater
Forum: Programming 05-20-2009
12,494
Posted By BrighterLater
Shamrock and vgersh99 Thank you for all the help....
Shamrock and vgersh99 Thank you for all the help.

In the end I started with my original makefile and made incremental edits, checking that at each stage I got a successful result. At the end of...
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
The server program I am linking, when executed is...
The server program I am linking, when executed is spawned from an IDL client program. THe client opens a two way pipe using STDIN and STDOUT to communicate. The IDL client issues command strings to...
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
Thank you very much for your help Shamrock. I'm...
Thank you very much for your help Shamrock. I'm afraid I have to leave now as 17:30 in UK and have to get somewhere else on time.

Once again thank you - Mike
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
Sorry about that. Cut and Paste from Linux from...
Sorry about that. Cut and Paste from Linux from terminal emulator to windows is unreliable and I ended up posting to identical Paste Buffers. Apolgies again
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
New Version linux-gate.so.1 => ...
New Version

linux-gate.so.1 => (0xffffe000)
libXm.so.2 => /usr/lib/libXm.so.2 (0x55556000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00944000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00c99000)...
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
Sorry need to edit this
Sorry need to edit this
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
Within the two sessions I am running I have: ...
Within the two sessions I am running I have:

env > env.txt

then run diff on the two files. The only differences are related to the directories I'm running in and LD_LIBRARY_PATH is identical.
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
I' confident that the API works because they...
I' confident that the API works because they supply example programs that I have compiled, linked and run

I ran ldd against the two executables
It listed 22 so's mainly in the same order....
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
Thanks gersh99. Shamrock - at present...
Thanks gersh99.

Shamrock - at present Makefile ifeq and ifneq statements. Later I will be using preprocessor statements in my C++ code. But at present I just want to ensure I can reproduce the...
Forum: Programming 05-15-2009
12,494
Posted By BrighterLater
Compare two executables
Hi - I have two complex (for me at least) make files. The older one creates a succesful executable. The later one uses if statements to conditionally make different versions of the executable. The...
Forum: Programming 05-07-2009
10,535
Posted By BrighterLater
Apologies for answering my own question but I...
Apologies for answering my own question but I think that this is probably a reasonable solution:

Suppose you have an "env var" MY_VERSN

export MY_VERSN=9

In the makefile you can access...
Forum: Programming 05-07-2009
10,535
Posted By BrighterLater
Conditional Compilation based on Environmental Variable in Unix
I want to be able to access an environment variable to control how a program is compiled.
So:
export MY_VERSN=9

Then ideally, within my C++ code, I would have

#if MY_VERSN = 9
iret =...
Showing results 1 to 12 of 12

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