gcc

  1. N

    Solved [Newbie] gmake doesn't recognize FreeBSD

    I wanted to install GDC at my FreeBSD, but when I typed sudo gmake install, those error occurred: /usr/home/vmware/gdc/gcc-7.3.0/libphobos/libdruntime/core/stdc/stdlib.d:204:9: error: undefined identifier 'wchar_t' int mbtowc(scope wchar_t* pwc, scope const char* s, size_t n); ^...
  2. decuser

    How to install and run gcc safely without polluting my flawlessly running system

    I am wanting to run the examples in the Stevens book, Advanced Programming in the Unix Environment. I'd rather not pollute my running system with extraneous files that are not required for the system to function. My question and followups for the masters out there: What's a safe way to install...
  3. aragats

    Solved Qt5: gcc48/libstdc++.so.6: version CXXABI_1.3.9 not found

    I'm trying to build a simple Qt5 program and getting such error. The Makefile is created by qmake and contains:.... CC = gcc CXX = g++ ....Let's see what is gcc:% ll /usr/local/bin/gcc lrwxr-xr-x 1 root wheel 4 Oct 19 00:40 /usr/local/bin/gcc@ -> gcc6Then I ran make and...
  4. clawhammer

    Solved how can I use cc -o on two files?

    I have two files from a book I'm trying to compile. One is the main file usehotel.c. The second is the function definitions for a header file, hotel.c. I've tried the -o option different ways and I can't get it to work. I don't want the file names to change to a.out after compilation. I've...
  5. P

    Compiling the kernel via GCC

    Has anyone been able to successfully compile the kernel using GCC as against CLANG the default compiler on most later versions of FreeBSD? I was able to successfully buildworld. After which I reboot and now /usr/bin/cc points to GCC as requested. However kernel fails to link Here is my src.conf...
  6. P

    clang error make buildworld freebsd-current

    I am tying to buildworld on an ivybridge (amd64) machine and I get the following error: ===> lib/libc/tests/ssp (all) (cd /usr/src/lib/libc/tests/ssp && DEPENDFILE=.depend.h_fgets NO_SUBDIR=1 make -f /usr/src/lib/libc/tests/ssp/Makefile _RECURSING_PROGS=t PROG=h_fgets ) (cd...
  7. F

    32bit libgcc on FreeBSD 11.0

    Please let me know how to install 32bit libgcc and libstdc++ on FreeBSD 11.0 Steps showing actual issue is given below [xyz]$ cat hello_world.c #include<stdio.h> int main(void) { printf("\n Hello World \n"); return 1; } [xyz]$ gcc -v Using built-in specs. COLLECT_GCC=gcc...
  8. JazzSinatra

    Solved Finnish spell checker "voikko"

    Hello. I'm not completely sure is this the right subforum to ask this, but I'm trying to build this Finnish linguistic software *"Voikko" for FreeBSD 10.3-RELEASE-p11. I have installed needed depencies (one of which is **Foma). I have built libvoikko from repository with configures...
  9. N

    Solved pkg asking to install unnecessary packages

    Hi all, Every time I run pkg upgrade or pkg install PKG, pkg asks me to install some apparently unnecessary packages. I'm running FreeBSD 11.0-RELEASE-p8, using mainly packages, tracking the quarterly repo, and checking out the quarterly ports tree to match (using svn). I have compiled...
  10. J

    Resource limits in FreeBSD (kind of linux cgroups)

    Hello everyone. After a long time spent with linux (we use it for development at work), I decided to go back and have a look at FreeBSD. I used to compile software using the ports collection. On the other side, I use gentoo linux and, as a developer and building everything from source in...
  11. P

    Installing GCC for FreeBSD 11

    I’m working for a company involved in software development on existing Intel projects, for FreeBSD 8.4 and 10.2. We’re now moving to FreeBSD 11, which I've just installed on a CRB and built our driver successfully. I’ve also installed a number of dependencies e.g. python, gmake and am now...
  12. D

    libgcc_s.so.1 incorrect for port

    Hello, I am in the process of porting numba to FreeBSD, the submitted port 211347 has an outstanding issue. Documentation requires that a user should be able to type from a python interpreter: import numba However, this complains with /lib/libgcc_s.so.1 not using the gcc48 library. Instead the...
  13. I

    FreeBSD GCC installation (urgent help required)

    Hello, I am new to the forum I need help as I am given an assignment to install GCC compiler in FreeBSD 9.1. Help will be appreciated. I am a beginner so I don't know much technical terms. What I need to be answered: - How to install GCC in FreeBSD 9.1 (just basic installation commands) I have...
  14. Isaac Monteiro

    C/C++ Clang error in optimization

    Hi, I tried to compile this http://lolengine.net/wiki/oss/lolremez with clang, but using any optimization causes the program to behave in a very strange way and gives numerically erroneous results. Compile without optimization produces a very slow binary, so I have to compile using g++48 to...
  15. A

    General specific Question

    Hi, I am regular Linux user and am planning to port my application to FreeBSD too. I began my programming career with Unix systems, and am still a no frill programmer. Now I have specific questions for the FreeBSD community. As per information I have read, I can install it on Intel I3 core...
Top