mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 09:38:24 +00:00
x86: bring up share object module on i386 machine
1. upddate kernel module to support i386 2. update libdl to support open *.so by absolute path 3. new test case bsp/x86/src/hello.c to test i386 module feature Signed-off-by: parai <parai@foxmail.com>
This commit is contained in:
@@ -33,7 +33,7 @@ BUILD = 'debug'
|
||||
if PLATFORM == 'gcc':
|
||||
# toolchains
|
||||
PREFIX = ''
|
||||
CC = PREFIX + 'gcc -m32 -fno-builtin -fno-stack-protector'
|
||||
CC = PREFIX + 'gcc -m32 -fno-builtin -fno-stack-protector -nostdinc'
|
||||
AS = PREFIX + 'gcc -m32'
|
||||
AR = PREFIX + 'ar'
|
||||
LINK = PREFIX + 'ld -melf_i386'
|
||||
|
||||
Reference in New Issue
Block a user