Mar 6 2008, 08:53 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 7 Joined: 6-March 08 Member No.: 4,871 |
Hi,
I updated my (quite old) Lejos OSEK sources yesterday to 1.0.9 and suddenly the produced .bin file e.g. for samples/helloworld/ is only 112 bytes big, i.e. basically empty. I traced it back, and it still worked with 1.0.6, but didn't work anymore with 1.0.7. In this release the makefiles have been reworked heavily, accompanied by a modification to the linker script and now gcc is used instead of ld for linking. Since there are so many changes it is a bit hard to track the cause down. It seems that objcopy discards basically everything. Any ideas how to go on with this ? I'm doing this on Linux, using gnuarm 4.0.2 and wine for sg.exe. Alex |
|
|
|
AlexN Linking problem on Linux since 1.0.7 Mar 6 2008, 08:53 AM
Johnny 5 Hi,
I updated my (quite old) Lejos OSEK sources y... Mar 7 2008, 02:51 AM
AlexN [quote name='Johnny 5' date='Mar 7 200... Mar 7 2008, 04:56 AM
Snowy Owl
The same thing happens to me. Compiling helloworl... Mar 8 2008, 02:05 AM
Snowy Owl Hmm, 15168 bytes seems ok. My binary is reduced to... Mar 9 2008, 11:44 AM
Johnny 5 News:
I've tryied to load lejos (not Lejos OSE... Mar 8 2008, 04:11 PM
AlexN Hi,
I updated my (quite old) Lejos OSEK sources y... Mar 10 2008, 03:49 AM
Snowy Owl I investigated the problem a bit more.
I tried to ... Mar 10 2008, 07:38 AM
AlexN Alex,
Where are you getting your toolchain from?... Mar 10 2008, 07:56 AM
takashic From [url=http://www.gnuarm.com/files.html]http://... Mar 10 2008, 07:29 PM
Snowy Owl How about the following script?
.vectors : {
... Mar 11 2008, 12:53 AM
AlexN Takashi,
After fighting with getting a version o... Mar 11 2008, 02:59 AM
AlexN I used objdump to have a closer look at the genera... Mar 11 2008, 03:11 AM
Snowy Owl Takashi,
After fighting with getting a version o... Mar 13 2008, 10:29 AM
takashic Okay, I think I have a solution.
It appears that ... Mar 13 2008, 07:19 PM
Snowy Owl I tested your patch and it works fine. I thought t... Mar 13 2008, 07:39 PM
takashic Takashi,
Great to hear it works for you too. Che... Mar 13 2008, 08:00 PM![]() ![]() |
| Lo-Fi Version | Time is now: 1st August 2010 - 04:35 AM |