From: malc <malc@pulsesoft.com>
To: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
Cc: Oliver Bandel <oliver@first.in-berlin.de>, <caml-list@inria.fr>
Subject: Re: [Caml-list] "No bytecode specified"
Date: Mon, 26 Aug 2002 15:03:58 +0400 (MSD) [thread overview]
Message-ID: <Pine.LNX.4.44.0208261503090.2523-100000@home.oyster.ru> (raw)
In-Reply-To: <20020826083804.GA1103@iliana>
On Mon, 26 Aug 2002, Sven LUTHER wrote:
> Alternatively, strip can be fixed to know about ocaml bytecode.
>
> I was also told that if the ocaml team would have used another
> label/tag/whatever it is called in the binary code than the one it is
> using, then strip would know about it. But then, i am not expert on
> that, and i guess the ocaml team don't think it is a good idea, since i
> never got any response to the message i sent about it (back when i was
> told that).
Either that, or:
#!/bin/sh
elfsize=`readelf -h $1 | awk '
/Start of section headers:/ {secoff=$5}
/Size of section headers:/ {seclen=$5}
/Number of section headers:/ {seccnt=$5}
END { print seccnt*seclen+secoff; }
'`
filesize=`ls -l $1 | awk '{print $5}'`
strip -o $1.elf.striped $1
tail -c $[filesize-elfsize] $1 > $1.caml.striped
cat $1.elf.striped $1.caml.striped > $1.striped
chmod +x $1.striped
rm -f $1.elf.striped $1.caml.striped
--
mailto:malc@pulsesoft.com
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-08-26 11:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-25 20:50 Oliver Bandel
2002-08-25 23:39 ` Stefano Zacchiroli
2002-08-26 7:32 ` malc
2002-08-26 8:38 ` Sven LUTHER
2002-08-26 10:00 ` Xavier Leroy
2002-08-26 12:53 ` Sven LUTHER
2002-08-26 11:03 ` malc [this message]
2002-08-26 12:32 ` Oliver Bandel
2002-08-26 12:36 ` Oliver Bandel
[not found] ` <Pine.LNX.3.95.1020826143546.418B-100000@first.in-berlin.de >
2002-08-27 1:52 ` Chris Hecker
2002-09-03 12:32 ` Oliver Bandel
2002-09-03 13:16 ` Xavier Leroy
2002-09-03 13:34 ` Oliver Bandel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0208261503090.2523-100000@home.oyster.ru \
--to=malc@pulsesoft.com \
--cc=caml-list@inria.fr \
--cc=luther@dpt-info.u-strasbg.fr \
--cc=oliver@first.in-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox