Motif gui programming !


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Motif gui programming !
# 8  
Old 10-23-2019
Quote:
Originally Posted by Sennenmut
hi,
windowsmanager ? What does it matter ? The EXE must RUN ! RUN !
ms windowzers normaly don't know what a wm is, but linuxers usually do.
This User Gave Thanks to dodona For This Post:
# 9  
Old 10-23-2019
hi corona 688

Hi Corona 688,

stay cool. MOTIF works fine. It is not about that Gui Library. The Windows are opening like crazy horses.

Its about Sparky Linux. I have posted there and they don't know until now. (pending)

If a normal c script is not really compiling with GCC , i as user cannot find out easy in the OS.
CLANG works.
I take it. Otherwise to change the OS only of GCC ? Not.
Look.
I have installed Sparky Linux and updated properly. The system is up to date.
On both computers a simple c script is compiled with GCC ONLY TO A LIBRARY.
So i do NOTHING and this posting is solved i recommend.

Example :
Code:
main ()
                  {
                   printf( "Hell is filled with amateur musicians. \n");
                  }

gcc simple.c

filename a.out
filetype shared library

starting from terminal is possible with
Code:
./a.out


you understand ? Its inside Sparky linux.

Please declare this post as solved.

The result is :
==================================================================================================
compiling a simple c script with GCC does not make an executable but shared library instead !
tested on two different computers with sparky LINUX. updated ok.
the error is hard to find.
CLANG works , so i take clang instead of changing the OS to other Linux distribution.
That sounds realistic isn't it ?

Last edited by Sennenmut; 10-23-2019 at 04:52 PM.. Reason: syntax error
# 10  
Old 10-24-2019
Usually a.out is a real executable. Test it with
Code:
file a.out

The name "a.out" can be changed with -o "filename" ....

You can edit the tags yourself and add a solved tag.
# 11  
Old 10-24-2019
Quote:
Originally Posted by dodona
ms windowzers normaly don't know what a wm is, but linuxers usually do.
Yeah, as someone who built security UIs between development and production environments decades ago with MOTIF, I find it strange that people who program in MOTIF today do not know a "window manager" is.

Even more strange is the fact they don't know what a WM is even though they are using one!

Even a Linux user should know! For example, here is an article:

Best 20 Linux Window Managers: A Comprehensive List for Linux Users

Arch Linux Wiki on Window Managers

What are the best window managers for Linux? - 48 Listed

... and the original posts wrote, as I recall... "I use Sparky.... !!!"

Well, Sparky also uses Window Managers for GUI, see:

Sparky Linux - window manager

Seems "someone" may be over compensating by projecting "great knowledge" about something they do not really understand at all Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Motif GUI example. UNIX executable ready.

Motif GUI example. Unix executable ready. Hi , i have attached my executable GUI example file in form of a .gz file. please gunzip file before. May i ask you for check it out that it is running on your machine ? You should have "Motif" package installed. when you klick the unix executable... (4 Replies)
Discussion started by: Sennenmut
4 Replies

2. UNIX for Beginners Questions & Answers

I'll be a professional MOTIF GUI programmer.

I'll be a professional MOTIF GUI programmer. And nothing will stop me. Nothing. :) (5 Replies)
Discussion started by: Sennenmut
5 Replies

3. UNIX for Beginners Questions & Answers

Wanna learn native GUI programming in UNIX - Linux ?

Hi , wanna learn native GUI programming in Unix-Linux instead of Gtk and Qt. No problem. You don't need a cross platform Gui toolkit like Gtk and Qt. And the code and syntax is also not more or less than others. Check out this code for a simple mainwindow for your application that is openend in... (0 Replies)
Discussion started by: Sennenmut
0 Replies

4. Programming

MOTIF programming and X11 client !

Hi there , i am interesting in MOTIF programming. One question : Is it right that in Motif GUI programming the actions are automaticly transformed and networked to other clients over the internet without network programming necessary ? Are the commands automatic transformed by the X11... (4 Replies)
Discussion started by: Zabo
4 Replies

5. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

6. Solaris

Motif 2.1 migration from Motif 1.2

An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine. Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application... (0 Replies)
Discussion started by: shafi2all
0 Replies

7. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

8. Programming

motif help

Hi everyone, I am new in motif programming and I want to learn how to program it. I use Fedora core 3 and every time I compile the program, there are always some errors appear. One of the errors said that I do not have the Xm/xxxx.h However, I do not know precisely how to install header files. I... (0 Replies)
Discussion started by: qqq
0 Replies

9. Programming

Motif

Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
3 Replies

10. Programming

GUI programming

I am a newbie to the *nix developer community, and was wondering if anyone has any good links on the subject of GUI programming in the X environment. Any suggestion is welcome =). (2 Replies)
Discussion started by: Solitare
2 Replies
Login or Register to Ask a Question