내용없음9
내용없음10














 data room..
고객지원 자료실
자료요청은 질문답변 게시판에 올려 주십시오.
 
  ASN.1 ASN1C Linux 설치 및 Run-Time Library 빌드 방법
ㆍ작성자: 옐로우스톤 ㆍ작성일: 2012-07-20 (금) 10:28 ㆍ조회: 115152
ㆍ분류: 기술자료 ㆍ추천: 0   http://www.nltelecom.com

제목 : ASN.1 ASN1C Linux 설치 및 Run-Time Library 빌드 방법
 
A. 소프트웨어 설치
 
1-1. acv651lnxsdk.tar.gz (ASN1C compiler 및 prebuild run-time lib) 를 루트 디렉토리에 압축을 풀어 설치
(루트 디렉토리에서 tar xzf acv651lnxsdk.tar.gz)
 
- SDK가 설치된 예:
C:asn1c-v651
├─bin (osyslic.txt)
├─c
├─cpp
├─doc
 
1-2. rtpv651lnxusa.tar.gz (run-time source code)  를 루트 디렉토리에 압축을 풀어 설치
(루트 디렉토리에서 tar rtpv651lnxusa.tar.gz)
 
- RTL source code 가 설치된예:
C:asn1c-v651
├─rtbersrc
├─rtpersrc
├─rtsrc
├─rtxersrc
├─rtxmlsrc
├─rtxsrc
├─scripts
├─utils
└─xsd
 
1-3. ACV651 CD에 있는 asn1c.lic 라이센스 파일을 bin 디렉토리에 복사
 
라이센스 파일일 설치된 예:
 
C:asn1c-v651inasn1c.lic

 
B. GNU 컴파일러에서 PowerPC 용 Run-time Library 빌드 방법 및 컴파일 옵션

acv651/
├─   libv651/asn1c/rtbersrc/*.c
├─   libv651/asn1c/rtpersrc/*.c
├─   libv651/asn1c/rtsrc/*.c
├─   libv651/asn1c/rtxsrc/*.c
├─   libv651/asn1h/*.h
 
1. 컴파일 옵션 추가
-D_NO_INT64_SUPPORT -D_NO_LICENSE_CHECK
 
2. Include 옵션 추가
-I/acv651/libv651
-I/acv651/libv651/asn1h
-I/acv651/libv651/asn1c
 
3. 빌드시 최종 생성된 파일
-> Shared Library gcc PPC version 4.1.2 libv651.so 를 생성 확인

C. README 파일 C:asn1c-651README.html
D. ASN1C ASN.1 Compiler 교육자료
 
소프트웨어 설치가 완료되면, ~ asn1c-v651c 또는 ~ acv633cpp 및 서브디렉토리 sample_xxx 에 각종 예제 파일이 들어 있습니다.
 

교육자료를 명확하게 설명하고 있는 웹문서는 Tutorial providing an introduction to the basic concepts of ASN.1 (http://www.obj-sys.com/asn1tutorial/asn1only.html) 입니다.

 



2-4-2. 다른 Platforms Run-time Code 포팅

 

모든 platform 사양 내용은 소프트웨어가 설치된 루트 디렉토리의 platform.mk에 있습니다.

다른 platform Run-time code를 포팅하는 방법은 아래와 같습니다.

 

1.     Create a directory tree containing a root directory (the name does not matter) and lib, src, rt*src, and build_lib subdirectories (note: in these definitions, * is a wildcard character indicating there are multiple directories matching this pattern). The tree should be as follows:

 

 

2.     Copy the files ending in extension ".mk" from the root directory of the installation to the root directory of the target platform (note: if transferring from DOS to UNIX or vice-versa, FTP the files in ASCII mode to ensure lines are terminated properly).

 

3.     Copy all files from the src and the different rt*src subdirectories from the installation to the src and rt*src directories on the target platform (note: if transferring from DOS to UNIX or vice-versa, FTP the files in ASCII mode to ensure lines are terminated properly).

 

4.     Copy the makefile from the build_lib subdirectory of the installation to the build_lib subdirectory on the target platform (note: if transferring from DOS to UNIX or vice-versa, FTP the files in ASCII mode to ensure lines are terminated properly).

 

5.     Edit the platform.mk file in the root subdirectory and modify the compilation parameters to fit those of the compiler of the target system. In general, the following parameters will need to be adjusted:

a.  CC C compiler executable name
b.  CCC C++ compiler executable name
c.  CFLAGS_ Flags that should be specified on the C or C++ command line

The platform.w32 and platform.gnu files in the root directory of the installation are sample files for Windows 32 (Visual C++) and GNU compilers respectively. Either of these can be renamed to platform.mk for building in either of these environments.


 

6.     Invoke the makefile in the build_lib subdirectory.

 

모든 파라메타 설정이 정확하다면, lib 서브디렉토리에 바이너리 라이브러리가 만들어질 입니다.




문의전화 : TEL: 02-813-7474 



아래글 Wind River Workbench 2.5 OCD Installation Guide 설치 가이드
번호     글 제 목  작성자 작성일 추천 조회
48 기술자료 ASN.1 ASN1C Linux 설치 및 Run-Time Library 빌드 방법 옐로우스톤 2012-07-20 0 115152
47 기술자료 Wind River Workbench 2.5 OCD Installation Guide 설치 가이드 관리자 2012-08-03 0 48377
46 기술자료 Wind River Workbench OCD 2.6 SBC8349 Board bring up 사용법 관리자 2012-08-02 0 25434
45 기술자료 Wind River Workbench 3.1 OCD OCTEON CN5860 Board Bring up 관리자 2012-12-14 0 24068
44 기술자료 Wind River Workbench OCD 2.6 DBAu1200 Board bring up 사용법 관리자 2012-08-02 0 23431
43 기술자료 Wind River Workbench OCD 3.3.3 ICE2 P2020 Board bring up 사용법 NLTJUN 2013-01-04 0 21941
42 기술자료 Wind River Workbench 3.1 OCD Installation Guide 설치 가이드 관리자 2012-08-03 0 21652
41 기술자료 Wind River Workbench OCD ICE IP 설정법 관리자 2012-08-02 0 21464
40 기술자료 Wind River Workbench OCD 2.6 BCM7454 Board bring up 사용법 관리자 2012-08-02 0 21427
39 기술자료 Wind River Workbench OCD 2.6 BCM7454 Board bring up 사용법 관리자 2012-08-02 0 21377
38 기술자료 Wind River Workbench OCD 2.6 MPC5554 Board bring up 사용법 관리자 2012-08-02 0 21328
37 기술자료 Wind River Workbench 3.3 OCD Probe RegisterFile BoardFile BL23570 관리자 2012-11-06 10 21028
36 기술자료 Wind River Workbench OCD MPC5516E 레지스터 File NLTJUN 2012-08-30 0 20973
35 기술자료 Wind River Workbench 2.6.1 OCD Installation Guide 설치 가이드.pdf 관리자 2012-08-03 0 20721
34 기술자료 Wind River Workbench OCD u-boot Debug 사용법 관리자 2012-08-02 0 20606
33 기술자료 ASN.1 ASN1C Compiler PER Windows CE 포팅 방법 옐로우스톤 2012-07-20 0 20342
32 기술자료 VxWorks 6.x and BSP 교육자료 준비중입니다. NLTJUN 2012-06-19 0 20240
31 기술자료 Wind River Workbench OCD 2.6 SBC8548E Board bring up 사용법 관리자 2012-08-02 0 20109
30 기술자료 Wind River Workbench 3.0 OCD Installation Guide 설치 가이드 관리자 2012-08-03 0 19963
29 기술자료 Wind River Workbench OCD ICE, Probe JTAG / BDMConnector Pin-outs 설정법 관리자 2012-08-02 0 19896
123

(153-803) 서울시 금천구 가산동 371-59 신한이노플렉스 703호 (주)엔엘텔레콤
TEL: 02-813-7474 / FAX: 02-813-6355 / E-mail: sales1@nltelecom.com