Compiler stuff
1) purify g++ -g exe_name file_name => exe_name in Solaris.
2) insure g++ -g exe_name file_name => exe_name in Linux
3) gdb stuff: g++ -g exe_name file_name => gbd exe_name =>run (params)
Use SecureCRT to transfer files:
Linux Compile Makefile
ex) #!/bin/sh
gcc -o dosxyz_show
-DMY_COLOR dosxyz_show.c \
-I/s/X11R6/include -L/s/X11R6/lib \
-I/s/motif/include -L/s/motif/lib \
-I/s/xpm/include -L/s/xpm/lib
\
-lXm -lXt -lXmu -lXp
-lX11
Perl Script
Note: You do not need to “chmod +x filename” every time. Once is enough.
XV on Linux:
How to copy and save a picture from any format using xv?
How to modify a picture format to postscript?
Removable disk drives for Linux:
>>mount /mnt/(zip, zip250, floppy)/
>>cd /mnt/(zip, zip250, floppy)/
>>umount /mnt/(zip, zip250, floppy)/
Letters:
Dear Jinho,
> I made a change when I compiled dosxyz_show.c as:
>
> gcc -g -o dosxyz_show -DMY_COLOR dosxyz_show.c \
> -I/s/X11R6/include -L/s/X11R6/lib \
> -I/s/motif/include -L/s/motif/lib \
> -I/s/xpm/include -L/s/xpm/lib \
> -lX11 -lXt -lXm -lXmu -lXpm -lXp
>
That's a very strange Linux installation that you have!
Is this some Linux emulation on a Windows computer ???
I suspect, the order you link the libraries may be the
reason for the program to fail.
I don't know why, but the Motif, Xt and X11 libraries
MUST be linked in a particular order, otherwise
the executables fail to run: you have to use
-lXm -lXt -lX11
I don't know what Xmu and Xp do (unless you changed
something in dosxyz_show, you don't need these),
but I would link them BEFORE X11, i.e. try to use
-lXm -lXt -lXmu -lXp -lX11
instead of
-lX11 -lXt -lXm -lXmu -lXpm -lXp