Sponsored Content
Full Discussion: gcc problems
Operating Systems Solaris gcc problems Post 48467 by cbkihong on Monday 8th of March 2004 07:31:35 PM
Old 03-08-2004
Many ./configure scripts allow you to specify an envvar like CC to explicit name the compiler to be used. For most configure scripts, you can see the options you can pass or envvar you can set by ./configure --help

May be something like

CC=/usr/local/bin/gcc ./configure

will help you.
 

10 More Discussions You Might Find Interesting

1. Programming

Gcc

Dear all, Any body please guide, i require a C which will run in Linux environment. Its urgent please. warm regards, Senthil K (1 Reply)
Discussion started by: Senthil
1 Replies

2. SCO

Problems with gcc compiler

Hy everone! I have an old SCO 5.x machine on which I want to install openssh. Since there was no GCC compiler installed I had to install that too. I'm not a programmer and not so familiar with SCO, so I have a couple of questions. I did everything "by the book" as it says here: Where can I... (1 Reply)
Discussion started by: veccinho
1 Replies

3. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

4. UNIX for Dummies Questions & Answers

GCC causing problems it seems.

Hi, I seem to be getting errors in relation to GCC it seems as I cant upgrade alot of pkgs until I can upgrade or use a later version of GCC. The error I get is along the lines of ( cc1: error: unrecognized command line option "-Wno-pointer-sign" *** Error code 1 ) Anyway I was wondering if... (2 Replies)
Discussion started by: Browser
2 Replies

5. AIX

problems with gcc on AIX 4.33

I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it. Thanks in advance for your help! # gcc -v Reading specs from... (2 Replies)
Discussion started by: jhall
2 Replies

6. UNIX for Advanced & Expert Users

GCC 4 error.

Hello, dont know much about C, or gcc, but I am trying to compile a program that built fine in gcc3, but is outputting errors in gcc4, int load_REs(char *, char ); #this line is causing the error DB_Query.h:22: error: array type has incomplete element type any help would be appreciated. (3 Replies)
Discussion started by: mike171562
3 Replies

7. UNIX for Dummies Questions & Answers

Help with gcc and g++

Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
Discussion started by: vishal.973s
5 Replies

8. Linux

Problems with gcc

Hello I'm not able to install gcc. My platform is # uname -a Linux localhost 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux #yum install gcc I got the following error ---> Package libgfortran44.x86_64 0:4.4.4-13.el5 set to be updated ---> Package... (2 Replies)
Discussion started by: My Style
2 Replies

9. Programming

Help with gcc programming

I need a lot of help with c programming. I have the source code. Running configure, I got one error message about a missing library. I downloaded and successfully compiled it in another dir. Do I throw all the new files into my source dir and run configure again ? Thanks. (3 Replies)
Discussion started by: drew77
3 Replies

10. AIX

Problems to install gcc 7.2 on AIX 7.2

We need gcc 7.2 on AIX 7.2 and so I tried to install the rpm package from IBM (<https://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html>) The steps were as follows (I downloaded all packages from the given IBM toolbox page): # :-)rpm -ihv gcc-7.2.0-1.aix7.2.ppc.rpm error:... (2 Replies)
Discussion started by: BuSchu
2 Replies
LD.HUGETLBFS(1) 					      General Commands Manual						   LD.HUGETLBFS(1)

NAME
ld.hugetlbfs - link a program for huge pages SYNOPSIS
ld.hugetlbfs [options] DESCRIPTION
ld.hugetlbfs replaces the normal ld command for linking programs to use hugepages. Under gcc, you should use the option -B /usr/share/lib- hugetlbfs which tells gcc to look in a non-standard location for the linker. This could be set in the CFLAGS environment variable. -Wl,--hugetlbfs-align This method of linking an application permits greater flexibility at runtime. Using HUGETLB_ELFMAP, it is possible to control which program segments are placed in hugepages. The following four settings will cause the indicated segments to be placed in hugepages: HUGETLB_ELFMAP=R Read-only segments (text) HUGETLB_ELFMAP=W Writable segments (data/BSS) HUGETLB_ELFMAP=RW All segments (text/data/BSS) HUGETLB_ELFMAP=no No segments It is possible to select specific huge page sizes for read-only and writable segments by using the following advanced syntax: HUGETLB_ELFMAP=[R[=<pagesize>]:[W[=<pagesize>]] -Wl,--hugetlbfs-link=B Under binutils 2.16 or older, this option will link the application to store BSS data (only) into hugepages. -Wl,--hugetlbfs-link=BDT Under binutils 2.16 or older, this option will link the application to store text, initialized data and BSS data into hugepages. FILES
[DESTDIR|/usr/share]/doc/libhugetlbfs/HOWTO SEE ALSO
libhugetlbfs(7), hugectl(8), hugeedit(8) AUTHORS
libhugetlbfs was written by various people on the libhugetlbfs-devel mailing list. March 12, 2012 LD.HUGETLBFS(1)
All times are GMT -4. The time now is 02:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy