how to /usr/openwin/lib/config/site.def up for gcc

how to /usr/openwin/lib/config/site.def up for gcc

Post by Konstantinos Agour » Wed, 03 Jul 1996 04:00:00



Hi,

how do I set up site.def for imake correctly for gcc.
I saw something that it has a entry usegcc but I couldn't get it to run
(I tried to install fvwm2)

Konstantin
--

Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Treason, like beauty, lies in the eye of the beholder." Garak

 
 
 

how to /usr/openwin/lib/config/site.def up for gcc

Post by Lupe Christo » Sun, 07 Jul 1996 04:00:00



>how do I set up site.def for imake correctly for gcc.
>I saw something that it has a entry usegcc but I couldn't get it to run
>(I tried to install fvwm2)

Here's mine. So far it worked with minor mods for everything I installed.
You might have to twiddle with the libraries.

#ifdef BeforeVendorCF

#define HasGcc YES
#define OptimizedCDebugFlags -g -O

#define UseInstalled YES
#endif /* BeforeVendorCF */

#ifdef AfterVendorCF

/*
 * Use ANSI C compiler.
 * Note: IncRoot doesn't seem to get used very consistently in
 * Imakefiles so things are frequently built using /usr/include.
 * This causes annoying warning messages but I think everything
 * "does the right thing".
 */

/*
#ifdef SVR4
#define CcCmd cc
#else
#define CcCmd acc
#define IncRoot /usr/dist/local/sun4/lang/SC1.0/include/CC
#endif
*/

#define BinDir /opt/local/`uname -p`/x11bin
#define DemoDir /opt/local/`uname -p`/demo
#define ManDirectoryRoot /opt/local/man
#define XAppLoadDir /opt/local/x11res

#ifdef InstallCmd
#undef InstallCmd
#endif
#define InstallCmd /usr/ucb/install

#undef OSName
#undef OSMajorVersion
#undef OSMinorVersion
#define OSName            SunOS 5.4
#define OSMajorVersion    5
#define OSMinorVersion    4

#define ProjectRoot $(OPENWINHOME)

#define StandardIncludes  -I/usr/dt/include
#define ExtraLibraries    -L/usr/dt/lib -R/usr/dt/lib -R/usr/openwin/lib
/* #define XmClientLibs      -lMrm -lXm -lXt -lX11 -lgen -lc -L/usr/ucblib -lucb */

#endif /* AfterVendorCF */
--


| "Never enter an arse-kicking contest with a        | s-/+ n+ h f* g+ w+ t+  |
| porcupine", Cohen the Barbarian                    | r+ !y                  |

 
 
 

1. /usr/lib/gcc-lib/i386-linux and /usr/lib/gcc-lib/i486-linux

Hi Linuxers,

I just got a new copy of gcc-2.4.5 and source code of the pl11.
After having done the installation of gcc-2.4.5, I realised that
I have an extra directory: /usr/lib/gcc-lib/i386-linux.
The question is whether I need to keep the old gcc stuff under
the i386-linux.  I really like to clean it up so as to save 5.1
meg disk space (another poor Linux user  ;-( ).

Your answer is very appreciated.  Please send answer directly
to my address or the corresponding interest parties to reduce
the network load.  Thank you in advance.

Wing



2. SRM boot on AS1000A 5/xxx, unable to open an initial console

3. /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/asm causing errors...

4. "Magic" permission bits: Where are they documented?

5. /usr/openwin/lib/libtt.so vs /usr/dt/lib/libtt.so (and ttsession) ?

6. Compatibility Question

7. Wanted: /usr/openwin/lib/sparcv9/libxil.so

8. Presario 1655, Thinkpad 1450i and others

9. Building X11R6.6 Xserver which links to /usr/openwin/server/lib/libfont.so.1

10. sdtfontls /usr/openwin/lib/X11/fonts/TrueType segfaults and dumps core

11. Why don't /usr/openwin/lib/config/* reflect SVR4 by default?!

12. Config Error: /usr/X11R6/lib/X11/XF86Config:205

13. GCC doesn't like /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1