Sponsored Content
Full Discussion: Motif gui programming !
Top Forums UNIX for Beginners Questions & Answers Motif gui programming ! Post 303040125 by Sennenmut on Wednesday 23rd of October 2019 03:29:15 PM
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 More Discussions You Might Find Interesting

1. 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

2. Programming

Motif

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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
PERLDGUX(1)						 Perl Programmers Reference Guide					       PERLDGUX(1)

NAME
perldgux - Perl under DG/UX. SYNOPSIS
One can read this document in the following formats: man perldgux view perl perldgux explorer perldgux.html info perldgux to list some (not all may be available simultaneously), or it may be read as is: as README.dgux. DESCRIPTION
Perl 5.7/8.x for DG/UX ix86 R4.20MU0x BUILDING PERL ON DG
/UX Non-threaded Perl on DG/UX Just run ./Configure script from the top directory. Then give "make" to compile. Threaded Perl on DG/UX If you are using as compiler GCC-2.95.x rev(DG/UX) an easy solution for configuring perl in your DG/UX machine is to run the command: ./Configure -Dusethreads -Duseithreads -Dusedevel -des This will automatically accept all the defaults and in particular /usr/local/ as installation directory. Note that GCC-2.95.x rev(DG/UX) knows the switch -pthread which allows it to link correctly DG/UX's -lthread library. If you want to change the installation directory or have a standard DG/UX with C compiler GCC-2.7.2.x then you have no choice than to do an interactive build by issuing the command: ./Configure -Dusethreads -Duseithreads In particular with GCC-2.7.2.x accept all the defaults and *watch* out for the message: Any additional ld flags (NOT including libraries)? [ -pthread] Instead of -pthread put here -lthread. CGCC-2.7.2.x that comes with the DG/UX OS does NOT know the -pthread switch. So your build will fail if you choose the defaults. After configuration is done correctly give "make" to compile. Testing Perl on DG/UX Issuing a "make test" will run all the tests. If the test lib/ftmp-security gives you as a result something like lib/ftmp-security....File::Temp::_gettemp: Parent directory (/tmp/) is not safe (sticky bit not set when world writable?) at lib/ftmp-security.t line 100 don't panic and just set the sticky bit in your /tmp directory by doing the following as root: cd / chmod +t /tmp (=set the sticky bit to /tmp). Then rerun the tests. This time all must be OK. Installing the built perl on DG/UX Run the command "make install" AUTHOR
Takis Psarogiannakopoulos University of Cambridge Centre for Mathematical Sciences Department of Pure Mathematics Wilberforce road Cambridge CB3 0WB , UK email <takis@XFree86.Org> SEE ALSO
perl(1). perl v5.14.2 2011-09-19 PERLDGUX(1)
All times are GMT -4. The time now is 05:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy