728x90 Compile4 [Ubuntu] PostgreSQL 수동 설치 컴파일 등에 필요한 기본 패키지들은 구성이 되있다고 가정하고 진행하겠다.PostgreSQL 파일 설치wget http://ftp.postgresql.org/pub/source/v12.1/postgresql-12.1.tar.gztar zxvf postgresql-12.1.tar.gzcd postgresql-12.1mkdir -p /APP/postgresql/data소스 컴파일 및 설치./configure --prefix=/APP/postgresql --with-python --without-python --without-readlinemake && make installDatabase Cluster 생성cd /APP/postgresql/bin./initdb -E utf-8 /APP/postgresql/da.. 2024. 8. 28. [Ubuntu]OS161 install OS161 install1. 필요한 스크립트 다운로드wget https://people.ece.ubc.ca/~os161/download/cs161-ubuntu-darwin.sh2. 스크립트 수정cat cs161-ubuntu-darwin.sh#/bin/bashSYS161="sys161-2.0.3"BINUTILS161="binutils-2.24+os161-2.1"GCC161="gcc-4.8.3+os161-2.1"GDB161="gdb-7.8+os161-2.1"#MIRROR=""MIRROR="" //주소 설정#echo '*** Updating appliance ***'#update50echo '*** Installing Ubuntu packages ***' // 주석 해제sudo apt-get -.. 2024. 5. 25. MAKE && CMAKE 주요 옵션들 MAKE && CMAKE 주요 옵션들 cmake 주요 옵션 # cmake --help Usage cmake [options] cmake [options] cmake [options] -S -B Specify a source directory to (re-)generate a build system for it in the current working directory. Specify an existing build directory to re-generate its build system. Options -S = Explicitly specify a source directory. -B = Explicitly specify a build directory. -C = Pre-load a script to .. 2024. 4. 22. MAKE && CMAKE MAKE / CMAKE CMake: 크로스 플랫폼 빌드 시스템 생성기 CMake는 복잡한 빌드 환경을 쉽게 관리하고 자동화하기 위해 사용되는 툴입니다. 이 도구는 프로젝트 설정과 빌드 환경을 생성하는 데 중점을 둡니다. 특히 다양한 플랫폼(Windows, macOS, Linux 등)과 컴파일러에서 일관된 빌드 환경을 제공하고자 할 때 유용합니다. Cmake의 주요 특징 플랫폼 독립적: CMake는 CMakeLists.txt 파일에 프로젝트의 빌드 과정과 의존성을 기술하고, 이를 바탕으로 플랫폼에 맞는 빌드 시스템 파일(예: Makefile, Visual Studio 솔루션 파일 등)을 생성합니다. 구성과 사용의 용이성: 사용자는 간단한 명령어(cmake .)로 다양한 빌드 설정 파일을 자동으로 생성할 수.. 2024. 4. 19. 이전 1 다음 728x90