[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
making a binary file out of a g++ elf
From: |
eviper |
Subject: |
making a binary file out of a g++ elf |
Date: |
Wed, 17 Jan 2001 16:19:55 GMT |
Hi,
I'm trying to build with g++ a binary file executable, and I can't.
(to execute a kernel at startup)
It seems that constructors are not properly called (or that virtual
tables are not properly rellocated / initialised)
Is there somewhere a known working procedure to do this ?
I've tried :
objcopy to transform elf into binary
ld with -Ttext ... -e ... -b binary, but the collect2 step is missing
gcc with -Xlinker flags, but I've got strange errors : missing
__GLOBAL_OFFSET_TABLE missing
ld scripts...
Any idea ??
Tx u.
David
PS : gcc 2.95.3 on linux 2.2.18
Sent via Deja.com
http://www.deja.com/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- making a binary file out of a g++ elf,
eviper <=